色婷婷狠狠18禁久久YY,CHINESE性内射高清国产,国产女人18毛片水真多1,国产AV在线观看

css里面的reset

李中冰2年前7瀏覽0評論
<請注意,以下回答由AI輔助生成>

CSS Reset 兼容不同瀏覽器之間的樣式,保證網(wǎng)站的一致性和質(zhì)量。有些流行的 CSS Reset 是:

/* Reset.css Version 2.0 — 20110126 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
:focus {
outline: 0;
}
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

這個 Reset 去掉了所有的 margin, padding, border, font-size, line-height, list-style, text-decoration, quotes, content 和 background,只保留了 table 相關(guān)的樣式。我們可以在此基礎(chǔ)上重新定義各個元素的樣式,以保證網(wǎng)站的唯一性。