Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

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

0 votes
17 views
added Jul 6 in CSS by lcjr First Warrant Officer (7,650 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%;
        } 
    }
}

 

Please log in or register to response this reference.

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