CSS樣式表屬性彙總

2021-04-17 01:29:49 字數 1896 閱讀 7512

w3上看到了。除了inline和block的定義,主要是要注意

body|h1~h6|blockquote|menu|ul|ol|dd等標籤的預設樣式 html, address,

blockquote,

body, dd, div,

dl, dt, fieldset, form,

frame, frameset,

h1, h2, h3, h4,

h5, h6, noframes,

ol, p, ul, center,

dir, hr, menu, pre  

li             

head           

table          

tr             

thead          

tbody          

tfoot          

col            

colgroup       

td, th         

caption        

th             

caption        

body           

h1             

h2             

h3             

h4, p,

blockquote, ul,

fieldset, form,

ol, dl, dir,

menu           

h5             

h6             

h1, h2, h3, h4,

h5, h6, b,

strong         

blockquote     

i, cite, em,

var, address   

pre, tt, code,

kbd, samp      

pre            

button, textarea,

input, object,

select         

big            

**all, sub, sup

sub            

sup            

table          

thead, tbody,

tfoot          

td, th         

s, strike, del 

hr             

ol, ul, dir,

menu, dd       

ol             

ol ul, ul ol,

ul ul, ol ol   

u, ins         

br:before      

:before, :after

center         

abbr, acronym  

:link, :visited

:focus         

/* begin bidirectionality settings (do not change) */

bdo[dir="ltr"] 

bdo[dir="rtl"] 

*[dir="ltr"]   

*[dir="rtl"]   

@media print

h1, h2, h3,

h4, h5, h6   

ul, ol, dl   

css樣式表的屬性

屬性名稱 字型屬性 font font family font style font variant font weight font size 顏色和背景屬性 color background color background image background repeat background ...

CSS基礎整理(樣式表 樣式屬性)

樣式屬性 1 背景與前景 background color 00f 背景色,樣式表優先順序高 background image url 設定背景 預設 word wrap break word word break break all 自動換行 background attachment fixed...

CSS樣式表引數屬性大全

屬性名稱 字型屬性 font font family font style font variant font weight font size 顏色和背景屬性 color background color background image background repeat background ...