> „ > WվO >

xMarginPadding

Wվ݋ 2020-03-09 11:19 / ھWվO / g
margin߀padding@}ÿWCSSMArıؽ֮·
 
CSS߅ԶxԪ܇Ŀgͨ^ʹÆΪČԌ߅MOҲʹú߅ͬr׃е߅——W3School
߅(margin)Ԫ܇~Ŀհׅ^“հׅ^”ָͨԪزܳFҸԪرҊą^——CSSָ
 
paddingQ߅Д߅xĵľxϲgCSSָϽጵ“a”߽“”a(padding)aλԪؿ߅c݅^֮gȻӰ@^Čpadding——CSSָ
 
PʲôrmarginʲôrpaddingWSSӑՓƺӑՓcsЩѥɦWĸXǴ𲻵cmarginpaddingSطЧһģһҲf@һmarginǂһҪpadding錍HЧһfmarginfpaddingՓoWϵĿYw{°lF@חl߀DZ^Vģ
 
Εrʹmargin
Ҫborderӿհוr
հ̎Ҫɫr
Băɂ֮gĿհҪ໥r15px + 20pxmarginõ20pxĿհ
 
 
ŷzoozݽ_ŷ̫Ƭ_ŷձһ