??? ?? ? ? ?? ??? ?? ???? CSS if () ??? ????? Chrome 137 ???? ???????. CSSWG? 1 ? ?? ????? ?? ? ??? ?? ??? ?? ?????. ??? ????? ?? ??? ?, ?? ?? CSS?? ????? ??? ?? ???? ?? ??? ??? ?? ?? ?? ? ?? ?? ?? ? ??? ??? ? ????. ??? ?? ??? ????!
?? CSS? ?? ??? ?? ???? ?? ??? ?? ???, CSS? ????? ???? ??? ???? ??? ???. Chris? ?? ? ???? ?? ??? ??? ?? ? ? ??? ??? ????.
?? ??? ?? ? ??? ??? if ()?? ??? ??? ??? ???? ?? ???? ??? ?? ??? ?? ?? ? ?? ???? ??? ???? ?? ???? ????. ??? ???? ? ?? ????? ? ? ??? ?? ????.
?, ?? ?? ????!
CSS? ?? ?? ??? ??? ?????. CSS? At-rules?? ?? ?? ? ?? ??? DOM? ???? ?? ????? ?? ???? ?????. ??? Lea Verou? ?? ???, ?? ???? ????? ??????! ??? ??? ??? ?? ?? ?? ? ?? ?? ??? ?? ??? ???? ? ?? ???? ??? ????????.
if () ????? ?? ? ??? ????, ?? ??? ?? ?? ??? ???? ?? ? ? ????.
.?? { ?? : if (??? (-?? : ??) : Oklch (52% 0.18 140); else : oklch (65% 0.05 220); }
if ()? ??? ??????
Chrome? ?? ?? ? 2021 ? ?? ??? ???? ?? ?? ??? ??? ????.
<if> = if (<container-query> ,, [<declaration-value> ] {1, 2})</declaration-value></container-query></if>
?? ??? ?? ????? ????.
<if> = if ( [? ?<if-statement> :<result> ]*; <if-statement>:<result> ;? ))</result></if-statement></result></if-statement></if>
??…
- ? ??
eitherstyle (), media (), orsupports () ?? ?? ??? ??? ?????. ??? ??? ????? ?? IF ??? ? ??????. ?, ??? ? ?? ????. ??? ?????! - ???
?? (else)? ?? ?? IF ?? ?? ? ? ??????.
??? ??? ?? "??"?????. ??? ????? ????.
<if> = if ([[<if-branch> ; ]*<if-branch> ;? )) <if-branch> =<if-condition> :<declaration-value> ? <if-condition> = <boolean-expr> ]> | ? ?? <if-test> = ?? ([[<ident> :<declaration-value> ] |<supports-condition> )) ???(<media-feature> |<media-condition> ) | ???(<style-query> ))</style-query></media-condition></media-feature></supports-condition></declaration-value></ident></if-test></boolean-expr></if-condition></declaration-value></if-condition></if-branch></if-branch></if-branch></if>
??? ??? ??? ??? ??? ?? ?? ?????. ??? ?? ? ???? ?? ?? ??? ???? ??? ?? ? ???. ??? Asttyle () ????? if () ?? ??? ???? ??? ?? ??? ?? ??? ???? ??? ?????. ? ?? ???? ?? ???? ???? ??? ?? ??.
.?? { ?? : if (??? (-?? : ??) : 2rem; else : 3rem); }
?? ?? ??? TO2REM ?? ?????. ??? ??? ???? 3REM???. ?? ??? ??? ??? ??? ??? ?? ??? ???? ?? ??? ?? ?? ????? ???? ????.
??? ???? ?????!
??? ?? ?? ?? ? ??? ??? ?? ??? ???? ? ??? ????. ??? ?? ? ?? if () ??? ??? ???????.
: ?? { -?? : 12.5REM; -width : 4rem; -?? : 2REM; } .?? { ?? : if ( ??? (-?? : 3REM) : 14.5REM; ??? (-?? : 7rem) : 10rem; ??? (-?? : 100REM) : 2REM; else : var (-??) ); }
??? ? ?? ??? ? ??? ???, ??? ???, ??? ? ?? ???? ??????. ??? () ??? ??? ? ?? ? ??? ?? ? ??? ???? ????.
?? ??, ?? ? ?? ???? ?? ??? ???? ??? ?? ?? ? ????.
: ?? { -?? : 12.5REM; -width : 4rem; -?? : 2REM; } /* ??? ?? ????? ?????? ????? */ .?? { ?? : if ( ??? (-?? : 3REM) : 14.5REM; ??? (-?? : 7rem) : 10rem; ??? (-?? : 100REM) : 2REM; else : var (-??) ); }
?? ??? ??, ??? ? ?? ?? ?? ???? ??? ??? ??? ? ????. ??? ?? ??. ??? ??? ?? ????? ????? ????. ??? ??? ??? ??? , ?? ???? ?????? ????.
? ????? ?? ???? ?? CSS?? ?? ???? ???? ?? ?????. ?? ??? ?? ??? ?? ?? ? ??? ?? ?????. ? ?? ?? ???? Chrome 137??? ????? ?? ???????.
?? () ? media () ?
OfSupports ()?@supportsat-rule? ???? ?? ?? ???? ??????. ??, ??? ??? ????? ???? ?????.
/ * @Supports? ?? ?? */ @supports<supports-condition> {{ <rule-list> } / * supports () */? ?? ?? ?? ?? ([[<ident> :<declaration-value> ] |<supports-condition> ))</supports-condition></declaration-value></ident></rule-list></supports-condition>
??? ??? ???? supports ()? ?? ??? ???? ?? ?? ????? ????. ??? ??? ?? ???? ??? ??????
???
: ? ?? ?? ?? : ?? ? ? : Display : Flex.
Backdrop-FilterProperty, ?? theBlur () ??? ?? ??? ???? ??? ?? ? ???. ?????@supports ?? ??? ?? ? ? ????.
/ * ????? ?? ??? ???? ?? ?? */ .card { ?? ?? : Unset; ??? : Oklch (20% 50% 40% / 0.8); } @supports (?? ?? : Blur (10px)) { .card { ?? ?? : ?? (10px); ??? : Oklch (20% 50% 40% / 0.8); } }
??? cssif ()? ???? ??? ?? ? ? ????.
.card { ?? ?? : if ( ??? (?? ?? : Blur (10px)) : Blur (10px); else : unset ); }
?? : ???? ??? ??? ????? ??? ???? ??????.
??? ????? Forsupports () ? ???? ???? ??? ?? ??? ??? ? ????. ?? ??:
.card { ?? ?? : if ( ??? (?? ?? : Blur (10px)) : Blur (10px); ??? (?? ?? : ?? (50%)) : ?? (50%); ??? (?? ?? : Hue-Rotate (230deg)) : Hue-Rotate (230deg) ;; else : unset ); }
??@media at-rule? ???? ?? ??? ???? ??? ? ??? ???? ???? ?? ??? ?? ???? ??? ???? ??? ???? ???? ???? ????.
H1 { ?? ?? : 2REM; } @Media (min-width : 768px) { H1 { ?? ?? : 2.5REM; } } @Media (min-width : 1200px) { H1 { ?? ?? : 3REM; } }
Themedia () ??? At-Rule ??? ?? ?? ???? ?????. ??? ??? ??????.
/ * @Media? ?? ?? */ @???<media-query-list> {{ <rule-list> } / * media () */?? ?? ???(<media-feature> |<media-condition> ))</media-condition></media-feature></rule-list></media-query-list>
??? ??? ?? ?? (
H1 { ?? ?? : if ( ??? (??> = 1200px) : 3REM; ??? (??> = 768px) : 2.5rem; else : 2rem ); }
??, ??? ?????
? ?? ?? ???? Chrome? ?? ???? ? if ())? ?????. ?? ??? ??? ??? ?? ????? ??? ?? ???? ?????. ?? ??? ? ??????. ???? ?? ?????? ???? ?? ???? ?? ?? ??? ?????.
- The What If Machine : CSS? "Iffy"??? ??? ?? ?? (Lee Meyer)
- CSS (Temani AFIF)?? () IF ()? ???? ???? ??
- ?? ?? ?? ??? ?? (Roma Komarov)
- CSS? ??? if () ??? ?? ?? (Amit Merchant)? ??????.
?? ??? ???? ?? CSS ??? ???? ?????. ?? ???? ?? CSSWG ? Chromium? ???? ??????. ?? ??? ???? ?? ??? ?? ? ? ??? ? ?? ????.
?? ??? if () ??? ?? ?? ??? ??? ????? ?? ?? ??? ?? ?? ???? ??? ?? ? ??? ?? ????. ??? ??? ?? ?? ? ? ??? ?????.
? ??? ?? 137?? CSS () ??? ??? ???? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

themaindifferencesbetweendisplay : ???, ??, andinline-blockinhtml/cssarelayoutbehavior, spaceusage ? stylingcontrol.1.inlineElementsFlowWithText, do n'tStartonnewlines, ingorewidth/height, andonlyapplyhorizontalpadding/margins —IdealforIneTeTexting

??? ?? ???? ???? ??? ??, ?? ??? ??? ? ? ????? ??? ??? ???? ???? ? ? ?? ? ? ????. 1. CSS ?? : ?? ??? ???? ???? ?? ??; 2. ????? ?? ?? ?? ???? ?? ?? ??? ??? ? ????. 3. ?? ??? ??? ??? ??? ?? ?? ???? ????????. 4. ??? ????? ??? ???? ?? ? ??? ??? ?? ??? ?? ?? ??? ????? ???? ?? ????.

CSS? ?? ?? ??? ??? ??? ???? ???? SVG? ???? ?? ???, ?? ????, ??? ?? ?? ??? ?? ???? ??????. ??? ??? ????. 1. ?, ??, ??? ?? ?? ??? ?? ??? ?????. 2. ?? ?? ? ??? ???? ??? ? ????. 3. ?????? ?? ?? ?? ?? ????? ???? ?? ??? ?? ? ? ????. 4. ???? ???? ??? ??? ??? ????? ?? ? ??? ????. ???? ???? ?? ?? ?? : ? (50pxatcenter) ? ??? ?? ?? : ??? (50%0%, 100 0%, 0%)? ?? ????. ????

CSS? ???? ?? ? ???? ???? ??? ?? ??? ?? ?? ?? ? ? ????. 1. Max width : 100% ? ?? : Auto? ???? ???? ??? ????? ???? ??? ??? ? ??????. 2. HTML? SRCSET ? ?? ??? ???? ?? ??? ??? ??? ??? ???????????. 3. ?? ?? ? ?? ??? ???? ??? ??? ? ?? ?????? ??????. ? ??? ?? ???? ?? ???? ???? ???? ????????.

?? ????? CSS ?? ??? ????? ?? ?? ??? ??, ?? ?? ?? ??, Flexbox ? ??? ???? ?? ?? ? ?? CSS ??? ????? ??? ???? ???? ?? ????? ??? ?????. 1. ?? ??? ??? ???? ????. ???? CSSRESET ?? NALLER.CSS? ???? ?? ???? ???? ????. 2. IE? ?? ??? ?? ?? ?? ??? ????. ?? ?? : ?? ? ???? ??? ??? ???? ?? ????. 3. Flexbox ? Grid? Edge Case ?? Old ???? ??? ?????. ? ?? ??? ? AutopRefixer ??; 4. ?? CSS ?? ??? ???? ????. Caniuse? ???? ?? ?????????.

CSS ??? ??? ?? ?? ?? ? ?? ? ?? ??? ?? ????. 1.px? ?? ??? ????? ?? ??? ??? ?? ??? ?????. 2.EM? ?? ????, ?? ?? ??? ??? ?? ?? ???? ??, REM? ?? ??? ???? ? ????? ??? ????? ?????. 3.VW/VH? ?? ? ???? ??? ??? ??? ??????? ?? ???? ?????? ???????. 4. ??? ?? ?? ? ??, ?? ?? ?? ? ??? ???? ???? ???????. ???? ??? ???? ??? ? ?? ??? ???? ? ????.

????? CSS? ???? ??? ?? ???? ???? ????, ?? 0 (??? ??)?? 1 (??? ???)???. 1. ??? ?? ??? ??? ???? ???? ??? ???? ??? ??? ??????. 2. ??? ???? ??????? ?? ??? ??? ???; 3. ??? ??? ?? ?? ?? ???? ??? ???. ??? ?? ???? ??? ??? RGBA? ?? ?? ?? ??? ??? ????. ???? ???? ?????? ?? ? ? ??? ?? ???? ??? ??? ? ? ????. ?? ?? ?? ??? ?? ???? ?? ????. ????? ????? ???? ??? ?? ? ?? ??? ???? ? ??? ????? ??? ??????.

Accent-Color? CSS?? ???, ??? ?? ? ????? ?? ?? ??? ????? ??? ??? ???? ? ???? ?????. 1. ???? ??? ?? ??? ????? ???? ?? ?? ?? ???? ??? ??? ?? ??? ?? ?????. 2. ???? ??? type = "checkbox", type = "radio"? type = "range"? ?? ??? ?????. 3. Accent-Color? ???? ??? ??? ???? ?? DOM ??? ??? ?? ???? ??? ? ????. 4. ????? ??? ?????? ???? ??? ????? ?? ?????????. 5. Accent-col? ??????
