scope media
-
@scope (.media) 미디어쿼리CSS 2021. 9. 12. 19:40
최근에 W3C에 Scoped styles에 대한 초안이 등재되어서 아주 가볍게 다루어봅니다. https://drafts.csswg.org/css-cascade-6/#scoped-styles CSS Cascading and Inheritance Level 6 Abstract This CSS module describes how to collate style rules and assign values to all properties on all elements. By way of cascading and inheritance, values are propagated for all properties on all elements. New in this level is § 6.5 Scoped Styles. C ..