CSS - wildcard for attribute, body and use of calc()

0 votes
64 views
added Jul 6 in CSS by lcjr First Warrant Officer (9,190 points)
body[class*='page-content-done-deal-'],
body.page-content-xxx {
    .logo-mobile {
        @media (max-width: 1024px) {
            position: relative; 
            left: calc(13% + -4%);
        } 
        @media (max-width: 912px) { 
            // left: 84%;
        } 
    }
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...