您好(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)作(zγ₹∏≈uò)室 作(zuò)者:馮軍 發布時(shí)間(jiānφ∞λ£):2024-02-29 10:19:20 閱讀(dú) 2374 次

Reset.css

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

html,body,ul,li,ol,dl,dd,dt,p,h1,h2>✔£ ,h3,h4,h5,h6,form,fieldset,legend,img {
§'≥ 
    margin: 0;
    "↑δ₩padding: 0
}
fieldset,img {
    b✘€order: 0
}
img {
    disp​£lay: block
}
address,caption,cite,code,dfn,×≤©th,var {
    font-style: normal;
    fo >nt-weight: normal
}
ul,ol {
    list-sty↕₽¶le: none
}
input {
    padd∏‌" ing-top: 0;
    padding-bottε☆om: 0;
    font-fam₹€≥•ily: "SimSun","宋體(tǐ)"
}
input::-m→&£ oz-focus-inner {
    border: ♦φ>0;
    padding: 0
}
select,input {
    ‍•"♦vertical-align: middle
}
sele♦δ♦ ct,input,textarea {
λ↑
    font-size: 12px;
    margin: ™€Ω0
}
input[type="text"],input[type="pass ↔'₽word"],textarea {
    outline-style: none;≥♣
    -webkit-appearance: non ≥e
}
textarea {
    resizeγ♣♥: none
}
table {
≥±∞    border-collapse: collapse
}

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

* {
    margin: 0;
    padding: 0
}
em,i {
 →σ§   font-style: normal
}
li {
    list-style•'☆: none
}
img {
   ♦∏∏ border: 0;
    vertical-align: middlλ↕♦e
}
button {
    cursor: pointer
}
a {
≤§λ
    color: #666;
    text-decorat€ ion: none
}
a:hover {
↕®÷    color: #c81623
}

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

html, body, div, span, object, ifrπ±β&ame,
h1, h2, h3, h4, h5, h6, p, × ♥blockquote, pre,
abbr, address,&'↓ cite, code,
del, dfn, em, img, ins, kbd, q,π≠' samp,
small, strong, sub, sup, →γvar,
b, i,
dl, dt, dd, ★≈£₩ol, ul, li,
fieldset, form, label,£™ legend,
table, caption, tbody, tfoot, th​​λ<ead, tr, th, td,
articl∑∞γ★e, aside, canvas, details, εφfigcaption, figure, 
footer, heade♣§<↕r, hgroup, menu, nav, sec∞'∑Ωtion, summary,
time, ÷​"✔mark, audio, video {
    mar←$&×gin:0;
    padding:0;
    border:0;
    outl÷'♦‍ine:0;
    font-size:100%;
    verticaβ≤✔φl-align:baseline;
    ba©'ckground:transparent;
}
h1,h2,h3,h4,h5,h6ββ÷,em,i {
    font-weight: 100γ©÷;
    font-style: normal
}
ul,ol,li {
   λ©  list-style-type: none
}
≈ ‍
a {
    color: #666;
  α​  text-decoration: none;
    o™∑♣→utline: 0
}
a:hover λ ✘>{
    text-decoration: none
}