您好(hǎo),歡迎來(lái)到(dào)盤龍區華銘誠泰®γ網絡工作室官方網站(zhàn)!ZJJCL.CN
新聞動态
您現(xiàn)在的(de)位置:首頁 > 技(jì)術(shù)文(wén)摘
CSS的(de)Reset的(de)樣式重置
來(lái)源:創立工(gōng)作(zuò)室 作(zuò≠₹§)者:馮軍 發布時(shí)間(jiān)♠λ★±:2024-02-29 10:19:20 閱讀(¥Ωdú) 2424 次

Reset.css

新浪的(de)初始化(huà):

html,body,ul,li,ol,dl,dd,dt,p,h1€↑£,h2,h3,h4,h5,h6,form,f$‌ieldset,legend,img {
    margin: 0;
€♣λ 
    padding: 0
}
field&γγset,img {
    border: 0
}
im©§g {
    display: bl​λ& ock
}
address,caption,cite,code,df∏® n,th,var {
    font-sty★®le: normal;
    font-weighφε★t: normal
}
ul,ol {
♣↑&    list-style: none
}
input {
  Ωε≤'  padding-top: 0;
    pa →↓dding-bottom: 0;
    font-family: "S‌'imSun","宋體(tǐ)"
}
γφinput::-moz-focus-inner {
    ♦β✘₹border: 0;
    padding: 0
≥•♥∞
}
select,input {
    vertical-alλ¶≈ign: middle
}
select,input,textarea {'>★π
    font-size: 12px;÷≠
    margin: 0
}
inαΩ✘put[type="text"],input[type="passw>&ord"],textarea {
    outline-style: ♣₩none;
    -webkit-appδ earance: none
}
textar✘ ea {
    resize: none
}
t∑"able {
    border-collapse: cπα ✘ollapse
}

京東(dōng)的(de)初始化(huà):

* {
    margin: 0;
    padding: 0
 σ}
em,i {
    font-style:φ↓ normal
}
li {
    list-styl$≈<€e: none
}
img {
    border: 0;
   §∞✘  vertical-align: middle
}
butα₩ton {
    cursor: poi¥>$¥nter
}
a {
    color: #666;
    ∏≥≈☆text-decoration: none☆™  
}
a:hover {
    color: #c8162σ'< 3
}

大(dà)衆版初始化(huà):

html, body, div, span, object,♦ Ω iframe,
h1, h2, h3, h4, h5, h6φ↕≤, p, blockquote, pre,
abbr, addre€ ♣¥ss, cite, code,
del, dfn, em, img, inσ&↑s, kbd, q, samp,
small,δ♦€ strong, sub, sup, var,
b, i,
∑'dl, dt, dd, ol, ul, li,
fieldset, ‌ form, label, legend,
table, captio♥₹n, tbody, tfoot, thead, tr, th, t₩  ₽d,
article, aside, canvas,★₩α details, figcaption, figure,≥₹ 
footer, header, hgroup, menu, n$< av, section, summary,
t<≈​ime, mark, audio, video {
    m←≠®×argin:0;
    padding:0;
    border≥σ♣:0;
    outline:0;
    font-si♦ £ze:100%;
    vertical-align:b €'aseline;
    background:transparent;
δ∞
}
h1,h2,h3,h4,h5,h6,em,i {
    f™γ¶ont-weight: 100;
    f✘♥→↔ont-style: normal
}
ul,ol,li {
 π♠✘™   list-style-type: none
}
a {±§"$
    color: #666;
    text-decorat↔'φ•ion: none;
    outline≠Ω☆€: 0
}
a:hover {
    text-decoration:→£↑® none
}