CSS3入門學(xué)習(xí)之屬性大全手冊

定位 Positioning
position
clip

布局 Layout
display
overflow
overflow-x
overflow-y

邊框 Border
border-radius
border-top-left-radius
border-top-right-radius
border-bottom-right-radius
border-bottom-left-radius
box-shadow
border-image
border-image-source
border-image-slice
border-image-width
border-image-outset
border-image-repeat

背景 Background
background
background-image
background-repeat
background-attachment
background-position
background-origin
background-clip
background-size

顏色 Color
opacity

字體 Font
font-stretch

文本 Text
text-transform
tab-size
word-break
word-wrap
overflow-wrap
text-align
text-align-last
text-justify
word-spacing
letter-spacing
text-indent

文本裝飾 Text Decoration
text-decoration
text-decoration-line
text-decoration-color
text-decoration-style
text-decoration-skip
text-underline-position
text-shadow

書寫模式 Writing Modes
unicode-bidi
writing-mode

用戶界面 User Interface
text-overflow
outline-offset
nav-index
nav-up
nav-right
nav-down
nav-left
zoom
box-sizing
resize
ime-mode
user-select

多列 Multi-column
columns
column-width
column-count
column-gap
column-rule
column-rule-width
column-rule-style
column-rule-color
column-span
column-fill
column-break-before
column-break-after
column-break-inside

伸縮盒 Flexible Box(舊)
box-orient
box-pack
box-align
box-flex
box-flex-group
box-ordinal-group
box-direction
box-lines

伸縮盒 Flexible Box(新)
flex
flex-grow
flex-shrink
flex-basis
flex-flow
flex-direction
flex-wrap
align-content
align-items
align-self
justify-content
order

轉(zhuǎn)換 Transform
transform
transform-origin

過渡 Transition
transition
transition-property
transition-duration
transition-timing-function
transition-delay

動畫 Animation
animation
animation-name
animation-duration
animation-timing-function
animation-delay
animation-iteration-count
animation-direction
animation-play-state
animation-fill-mode

打印 Printing
page

媒體查詢 Media Queries
width
height
device-width
device-height
orientation
aspect-ratio
device-aspect-ratio
color
color-index
monochrome
resolution
scan
grid

Only Firefox
border-colors
border-top-colors
border-right-colors
border-bottom-colors
border-left-colors

Only Webkit
text-fill-color
text-stroke
text-stroke-width
text-stroke-color
box-reflect

關(guān)系選擇符 Relationship Selectors
E~F

屬性選擇符 Attribute Selectors
E[att^="val"]
E[att$="val"]
E[att*="val"]

偽類選擇符 Pseudo-Classes Selectors
E:not(s)
E:root
E:last-child
E:only-child
E:nth-child(n)
E:nth-last-child(n)
E:first-of-type
E:last-of-type
E:only-of-type
E:nth-of-type(n)
E:nth-last-of-type(n)
E:empty
E:checked
E:enabled
E:disabled
E:target

偽對象選擇符 Pseudo-Element Selectors
E:first-letter/E::first-letter
E:first-line/E::first-line
E:before/E::before
E:after/E::after
E::selection

語法與規(guī)則 Rules and Syntax
@import
@media
@font-face
@keyframes

長度值與單位 Length Data Types and Units
ch
rem
vw
vh
vmax
vmin
q

角度值與單位 Angle Data Types and Units
<angle>
deg
grad
rad
turn

時間值與單位 Time Data Types and Units
<time>
s
ms

頻率值與單位 Frequency Data Types and Units
<frequency>
Hz
kHz

特殊布局值與單位 Layout-specific Data Types and Units
<fraction>
<grid>
fr
gr

分辨率值與單位 Resolution Data Types and Units
<resolution>
dpi
dpcm
dppx

顏色值 Color Data Types
RGBA
HSL
HSLA
transparent

函數(shù)值 Functional Notations Data Types
counter()
attr()
calc()
min()
max()
toggle()

圖像值 Image Data Types
linear-gradient()
radial-gradient()
repeating-linear-gradient()
repeating-radial-gradient()

紫色 鏈接表示該屬性在CSS3有修改或者增加了新的屬性值炼吴;橙色 鏈接表示該屬性是CSS3新增屬性

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末钝计,一起剝皮案震驚了整個濱河市罚屋,隨后出現(xiàn)的幾起案子穿肄,更是在濱河造成了極大的恐慌呻右,老刑警劉巖,帶你破解...
    沈念sama閱讀 218,386評論 6 506
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件贮缕,死亡現(xiàn)場離奇詭異惜浅,居然都是意外死亡,警方通過查閱死者的電腦和手機山孔,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,142評論 3 394
  • 文/潘曉璐 我一進店門懂讯,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人台颠,你說我怎么就攤上這事褐望。” “怎么了蓉媳?”我有些...
    開封第一講書人閱讀 164,704評論 0 353
  • 文/不壞的土叔 我叫張陵譬挚,是天一觀的道長。 經(jīng)常有香客問我酪呻,道長减宣,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,702評論 1 294
  • 正文 為了忘掉前任玩荠,我火速辦了婚禮漆腌,結(jié)果婚禮上贼邓,老公的妹妹穿的比我還像新娘。我一直安慰自己闷尿,他們只是感情好塑径,可當(dāng)我...
    茶點故事閱讀 67,716評論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著填具,像睡著了一般统舀。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上劳景,一...
    開封第一講書人閱讀 51,573評論 1 305
  • 那天誉简,我揣著相機與錄音,去河邊找鬼盟广。 笑死闷串,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的筋量。 我是一名探鬼主播烹吵,決...
    沈念sama閱讀 40,314評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼桨武!你這毒婦竟也來了肋拔?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,230評論 0 276
  • 序言:老撾萬榮一對情侶失蹤玻募,失蹤者是張志新(化名)和其女友劉穎只损,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體七咧,經(jīng)...
    沈念sama閱讀 45,680評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡跃惫,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,873評論 3 336
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了艾栋。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片爆存。...
    茶點故事閱讀 39,991評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖蝗砾,靈堂內(nèi)的尸體忽然破棺而出先较,到底是詐尸還是另有隱情,我是刑警寧澤悼粮,帶...
    沈念sama閱讀 35,706評論 5 346
  • 正文 年R本政府宣布闲勺,位于F島的核電站,受9級特大地震影響扣猫,放射性物質(zhì)發(fā)生泄漏菜循。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 41,329評論 3 330
  • 文/蒙蒙 一申尤、第九天 我趴在偏房一處隱蔽的房頂上張望癌幕。 院中可真熱鬧衙耕,春花似錦、人聲如沸勺远。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,910評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽胶逢。三九已至厅瞎,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間宪塔,已是汗流浹背磁奖。 一陣腳步聲響...
    開封第一講書人閱讀 33,038評論 1 270
  • 我被黑心中介騙來泰國打工囊拜, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留某筐,地道東北人。 一個月前我還...
    沈念sama閱讀 48,158評論 3 370
  • 正文 我出身青樓冠跷,卻偏偏與公主長得像南誊,于是被迫代替她去往敵國和親蜜托。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 44,941評論 2 355

推薦閱讀更多精彩內(nèi)容

  • 從我記事起谬哀,那里便是一片凈土。 多少年風(fēng)雨折磨篇梭,它還是那般模樣。路上谓苟,我望著那廣闊的田地孕暇,驕傲地望著隧哮。因為那曾是我...
    Y木槿Y閱讀 997評論 0 0