diff --git a/source/_posts/css3.md b/source/_posts/css3.md index e99e4d3..3c7b940 100644 --- a/source/_posts/css3.md +++ b/source/_posts/css3.md @@ -1034,7 +1034,7 @@ html { ## Modern CSS -### CONTAINER QUERIES (SIZE) +### container queries(size) ```css .element-wrap { @@ -1048,7 +1048,7 @@ html { } ``` -### CONTAINER QUERIES (STYLE) +### container qeries(style) ```css .container { @@ -1074,7 +1074,7 @@ html { } ``` -### CONTAINER UNITS +### container units - The units are cqw (“container query width”), - cqh (“container query height”), @@ -1097,7 +1097,7 @@ h2 { } ``` -### THE :HAS() PSEUDO SELECTOR +### the :has() pseudo selector ```css figure:has(figcaption) { @@ -1106,7 +1106,7 @@ figure:has(figcaption) { } ``` -### NESTING +### nesting ```css .cards { @@ -1123,7 +1123,7 @@ figure:has(figcaption) { ### -### SCOPING @scope +### scoping ```css @scope { @@ -1145,7 +1145,7 @@ figure:has(figcaption) { } ``` -### CASCADE LAYERS +### cascade layers ```css /* Specify the order to apply styles in cascade */ @@ -1164,7 +1164,7 @@ figure:has(figcaption) { } ``` -### LOGICAL PROPERTIES +### logical properties ```css button { @@ -1186,7 +1186,7 @@ button { } ``` -### P3 COLORS +### p3 colors ```html