CSS ???? ??? ?: ? ????? ?? ???
??
CSS(Cascading Style Sheets)? ?? ? ???? ????, ???? ????? ??? ????? ??? ? ??? ????. CSS? ???? ????? ?? ??? ???? ???? ???? ???? ????. div ? h1? ?? ?? ???? ? ??? ??? ?? CSS ???? ????? ? ??? ??? ????? ??? ????? ???? ? ???? ??? ? ??? ? ? ????.
? ?? ?????? CSS ???? ?? ???? ?? ???? ??? ?????. ? ???? ???? CSS ???? ? ? ??? ??? ??? ?? ??? ???? ????.
CSS ???? ??????
CSS ???? HTML ??? ???? ???? ???? ???? ? ???? ?????. ?? ????? ?? ???? ???? ???? ?? ??? ?? ???? ??? ??? ?????.
?? ?? ? CSS ????? ??? ????.
p { color: blue; }
p? ????? ??
??, ?? ??: ???; ???? ???? ?????.
?? ??: CSS ??? ??
1. ?? ???
?? ???(*)? ???? ?? ??? ?????.
* { margin: 0; padding: 0; }
? ??? ?? ???? ???? ????? ? ?????.
2. ?? ???
div, h1 ?? p? ?? ?? HTML ??? ??????.
h1 { font-size: 24px; }
3. ??? ???
?? ??? ??? ?? ??? ???? ???.
<div> <pre class="brush:php;toolbar:false">.highlight { background-color: yellow; }
4. ID ???
?? ID? ?? ??? ??????.
<div> <pre class="brush:php;toolbar:false">#unique { color: red; }
5. ??? ???
?? ???? ?? ????? ? ????.
h1, h2, p { font-family: Arial, sans-serif; }
?? ???? ??
1. ?? ???
??? ?? ???? ???? ?? ?? ??? ??? ??????.
div p { color: green; }
?? ??
2. ?? ???
> ??.
ul > li { list-style-type: square; }
3. ?? ?? ???
??? ???? ??? ?? ?? ??? ? ?? ??? ??????.
h1 + p { font-style: italic; }
4. ?? ?? ???
~ ??? ???? ??? ?? ?? ?? ??? ??????.
p { color: blue; }
?? ???: ?? ? ??? ??
1. ?? ???
?? ???? ?? ?? ?? ?? ?? ???? ??? ???? ???.
?:
- ?? ??? ?? ??:
* { margin: 0; padding: 0; }
- ?? ?? ?? ??? ??????.
h1 { font-size: 24px; }
- ??? ??? ???? ??? ??????.
<div> <pre class="brush:php;toolbar:false">.highlight { background-color: yellow; }
2. ?? ???
?? ???? ??? ??? ??? ?????.
???? ?? ???:
- :hover: ???? ?? ?? ???? ??? ? ???? ?????.
<div> <pre class="brush:php;toolbar:false">#unique { color: red; }
- :nth-child(n): ?? ?? ?? ??? ?????? ??? ???? ?????.
h1, h2, p { font-family: Arial, sans-serif; }
- :not(selector): ???? ??? ?????.
div p { color: green; }
3. ?? ??
?? ??? ??? ?? ??? ???? ?????.
?:
- ::before: ?? ?? ???? ?????.
ul > li { list-style-type: square; }
- ::after: ?? ?? ???? ?????.
h1 + p { font-style: italic; }
4. ??? ??? ?? ???
???? ??? ???? ?? ???? ?????.
- ?? ???:
h1 ~ p { color: gray; }
- ?? ???:
input[type] { border: 1px solid #000; }
?? ??? ?? ?
- ???? ?????: ???? ???? ???? ?????? ??? ?? ? ????.
- ?? ???: ????? ???? ????? ???? ????? ???? ???? ??? ????.
- ????? ???: ???? ??? ?????? ??? ??? ?????? ?????.
CSS ???? ?? FAQ
ID ???? ??? ???? ???? ??????
- ID? ???? ??? ??? ???? ??, ???? ?? ??? ???? ? ????.
?? ?? ???? ?? ??? ? ????
?, ?? ???? ??? ? ????. ?:
input[type="text"] { background-color: lightblue; }
?? ???? ???? ??? ??????
?? ???? ?? ???? ?? ??? ?? ID ??? ???? ??? ??? ???? ? ????.
??
CSS ???? ?? ? ???? ?????. ?? ????? ????? ????? ????? ??? ???? ???? ???? ? ????. ???? ???? ?? ???? ???? ?? ??? ???? ??? ?? ??? ??????.
??? ???? ???? ?????? ?? ??? ??? ?????!
? ??? ??? 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)

CSS?? ????? ??? ? ?? ??? ????. 1. HTML ? CSS? ?? ??? ?????? ???? ?? ???? ?? ???? ??????. 2. ?? ??? ??? ?? ???? ???? ?? ?? ??? ?? ?? ??? ??????. 3. ??? ????? ???? JavaScript? ?? ???? ?????? ??? ?????. ? ?? ??? ??? ??? ????? ?? ??, ??, ??? ? ?? ???? ?? ?? ?? ??? ???? ?????.

CSS ???? ??? ? ??? ??? ????? ???? ??? ???? ???? ?? ?? ???? ????? ???????. 1. Flexbox ? ??? ??? ?? ???? ??? ??, ?? : ??? ?? ? ????? ??? ????. 2. Caniuse ?? ?? ?? ??? ??????. 3. -webkit-, -moz-, -ms-, -o- ? ?? ???? ???? ???? ?????. 4. AutoPrefixer? ???? ???? ???? ???? ?? ????. 5. ?? ????? ????? PostCSS? ???? BrowsersList? ??????. 6. ?? ? ???? ???? ?????. 7. Modernizr ?? ??? ??? ????? ??? ? ????. 8. ?? ????? ???? ?? ? ??? ????.

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

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

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

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. ??? ?? ?? ? ??, ?? ?? ?? ? ??? ???? ???? ???????. ???? ??? ???? ??? ? ?? ??? ???? ? ????.
