css屬性的分類:動畫屬性、轉換屬性、過渡屬性、Box屬性、Marquee屬性、尺寸屬性、外邊距屬性、內邊距屬性、邊框屬性、定位屬性、多列屬性、可伸縮框屬性、清單屬性、Grid屬性、表格屬性、文字屬性、字型屬性、Color屬性、背景屬性等。
本教學操作環境:windows7系統、CSS3版、Dell G3電腦。
css的屬性分類
#動畫屬性分類 | CSS3 動畫屬性( Animation) | 2D/3D 轉換屬性(Transform) | 過渡屬性(Transition) | #Box 屬性 | #Marquee 屬性 |
#尺寸/位置-- | CSS 尺寸屬性(Dimension) | CSS 外邊距屬性(Margin) | CSS 內邊距屬性(Padding) | CSS 邊框屬性(Border 和Outline) | CSS 定位屬性(Positioning) |
#多列屬性(Multi-column) | 可伸縮框屬性(Flexible Box) | CSS 清單屬性(List) | Grid 屬性 | #CSS 表格屬性( Table) | |
CSS 文字屬性(Text) | CSS 字型屬性(Font) | Color 屬性 | CSS 背景屬性(Background) | ||
# | |||||
Hyperlink 屬性 | 內容產生(Generated Content) | Content for Paged Media 屬性 | 使用者介面屬性(User-interface) | Paged Media 屬性 | |
CSS 列印屬性( Print) | # |
CSS3 動畫屬性(Animation)
#描述 | CSS | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
規定動畫。 | 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
所有動畫屬性的簡寫屬性,除了 animation-play-state 屬性。 | 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
規定 @keyframes 動畫的名稱。 | 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#規定動畫完成一個週期所花費的秒或毫秒。 | 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
規定動畫的速度曲線。 | 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#規定動畫何時開始。 | 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#規定動畫被播放的次數。 | 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#規定動畫是否在下一週期逆向播放。 | 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#規定動畫是否正在運作或暫停。 | 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
規定物件動畫時間以外的狀態。 | 3 |
#屬性 | 描述 | CSS |
---|---|---|
#CSS | ||
background | 在一個宣告中設定所有的背景屬性。 | 1 |
background-attachment | 設定背景圖片是否固定或隨著頁面的其餘部分滾動。 | 1 |
background-color | 設定元素的背景顏色。 | 1 |
background-image | 設定元素的背景圖片。 | 1 |
background-position | 設定背景圖片的開始位置。 | 1 |
background-repeat | 設定是否及如何重複背景影像。 | 1 |
background-clip | 規定背景的繪製區域。 | 3 |
background-origin | 規定背景圖片的定位區域。 | 3 |
規定背景圖片的尺寸。
3CSS 邊框屬性(Border 和Outline) | ||
---|---|---|
描述 | CSS | |
在一個宣告中設定所有的邊框屬性。 | 1 | |
在一個宣告中設定所有的下邊框屬性。 | 1 | |
#設定下邊框的顏色。 | 2 | |
#設定下邊框的樣式。 | 2 | |
設定下邊框的寬度。 | 1 | |
設定四條邊框的顏色。 | 1 | |
在一個宣告中設定所有的左邊框屬性。 | 1 | |
#設定左邊框的顏色。 | 2 | |
#設定左邊框的樣式。 | 2 | |
設定左邊框的寬度。 | 1 | |
在一個宣告中設定所有的右邊框屬性。 | 1 | |
設定右邊框的顏色。 | 2 | |
設定右邊框的樣式。 | 2 | |
#設定右邊框的寬度。 | 1 | |
設定四條邊框的樣式。 | 1 | |
在一個宣告中設定所有的上邊框屬性。 | 1 | |
設定上邊框的顏色。 | 2 | |
設定上邊框的樣式。 | 2 | |
設定上邊框的寬度。 | 1 | |
設定四條邊框的寬度。 | 1 | |
在一個宣告中設定所有的輪廓屬性。 | 2 | |
設定輪廓的顏色。 | 2 | |
設定輪廓的樣式。 | 2 | |
設定輪廓的寬度。 | 2 | |
定義邊框左下角的形狀。 | 3 | |
定義邊框右下角的形狀。 | 3 | |
簡寫屬性,設定所有 border-image-* 屬性。 | 3 | |
#規定邊框影像區域超出邊框的量。 | 3 | |
#圖片邊框是否要平鋪(repeated)、鋪滿(rounded)或拉伸(stretched )。 | 3 | |
#規定影像邊框的向內偏移。 | 3 | |
#規定用作邊框的圖片。 | 3 | |
規定圖片邊框的寬度。 | 3 | |
簡寫屬性,設定所有四個 border-*-radius 屬性。 | 3 | |
定義邊框左上角的形狀。 | 3 | |
定義邊框右下角的形狀。 | 3 | |
# | 3 |
Box 屬性
屬性 | #描述 | #CSS |
---|---|---|
#overflow-x | 如果內容溢出了元素內容區域,是否會對內容的左/右邊緣進行裁切。 | 3 |
overflow-y | 如果內容溢出了元素內容區域,是否對內容的上/下邊緣進行裁切。 | 3 |
overflow-style | 規定溢出元素的首選捲動方法。 | 3 |
rotation | 圍繞由 rotation-point 屬性定義的點旋轉元素。 | 3 |
rotation-point | 定義距離上左方框邊緣的偏移點。 | 3 |
Color 屬性
描述 | CSS | |
---|---|---|
#允許使用來源的顏色設定檔的預設以外的規格。 | 3 | |
規定元素的不透明層級。 | 3 | |
允許使用色彩設定檔渲染意圖的預設以外的規格。 | 3 |
Content for Paged Media 屬性
描述 | CSS | |
---|---|---|
規定書籤的標記。 | 3 | |
規定書籤的等級。 | 3 | |
規定書籤連結的目標。 | 3 | |
#將元素放在 float 屬性通常放置的位置的相反方向。 | 3 | |
#規定連字單字中連字號之後的最小字元數。 | 3 | |
#規定連字單字中連字字之前的最小字元數。 | 3 | |
規定當發生斷字時顯示的字串。 | 3 | |
#指示元素中連續斷字連線的最大數。 | 3 | |
#規定幫助瀏覽器決定斷字點的外部資源(逗號分隔的清單)。 | 3 | |
設定如何對單字進行拆分,以改善段落的佈局。 | 3 | |
#規定影像的正確解析度。 | 3 | |
在文件中新增裁切標記或十字標記。 | 3 | |
3 |
描述 | ##CSSheight | |
---|---|---|
1 | max-height | |
2 | max-width | |
2 | min-height | |
2 | min-width | |
2 | width | |
1 |
CSS | box-align | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3 | box-direction | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 | box-flex | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 | box-flex-group | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 | box-lines | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 | box-ordinal-group | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 | box-orient | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 | box-pack | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 |
#屬性 | 描述 | ##CSS|
---|---|---|
在一個宣告中設定所有字體屬性。 | 1 | |
規定文字的字體系列。 | 1 | |
規定文字的字體尺寸。 | 1 | |
#為元素規定 aspect 值。 | 2 | |
縮寫或拉伸目前的字體系列。 | 2 | |
規定文字的字型樣式。 | 1 | |
規定是否以小型大寫字母的字體顯示文字。 | 1 | |
規定字型的粗細。 | 1 |
內容生成(Generated Content)
描述 | CSS | |
---|---|---|
#與:before 以及:after 偽元素配合使用,來插入生成內容。 | 2 | |
遞增或遞減一個或多個計數器。 | 2 | |
建立或重設一個或多個計數器。 | 2 | |
設定嵌套引用的引號類型。 | 2 | |
允許被取代元素只是物件的矩形區域,而不是整個物件。 | 3 | |
從流中刪除元素,然後在文件中後面的點上重新插入。 | 3 | |
確定元素基於頁面的 occurrence 套用於計數器還是字串值。 | 3 |
描述 | CSS | |
---|---|---|
規定網格中每個列的寬度。 | 3 | |
#規定網格中每個列的高度。 | 3 |
描述 | CSS | |
---|---|---|
#簡寫屬性,設定target-name、target-new以及target-position屬性。 | 3 | |
規定在何處開啟連結(連結的目標)。 | 3 | |
規定目標連結在新視窗還是在已有視窗的新標籤頁中開啟。 | 3 | |
規定在何處放置新的目標連結。 | 3 |
描述 | CSS | |
---|---|---|
在一個宣告中設定所有的清單屬性。 | 1 | |
將圖象設定為清單項目標記。 | 1 | |
設定清單項目標記的放置位置。 | 1 | |
設定清單項目標記的類型。 | 1 | |
2 |
##CSS | margin | |
---|---|---|
1 | margin-bottom | |
1 | margin-left | |
1 | margin-right | |
1 | margin-top | |
1 |
屬性
CSS | marquee-direction | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3 | marquee-play-count | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 | marquee-speed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 | marquee-style | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 |
多列屬性(Multi-column)
CSS 內邊距屬性(Padding)
Paged Media(分頁媒體)屬性
CSS 定位屬性(Positioning)
CSS 列印屬性(Print)
CSS 表格屬性(Table)
CSS 文字屬性(Text)
2D/3D 轉換屬性(Transform)
轉換屬性(Transition)
(學習影片分享:css影片教學) |
以上是css的屬性分為什麼類別的詳細內容。更多資訊請關注PHP中文網其他相關文章!

使用類選擇器和ID選擇器取決於具體用例:1)類選擇器適用於多元素、可重用樣式,2)ID選擇器適用於唯一元素、特定樣式。類選擇器更靈活,ID選擇器處理速度更快但可能影響代碼維護性。

keykeygoalsandmotivationsbehindhtml5weretoenhancesemantstructure,Improvemultimediasupport,andensureBetterperformanceandCompatibalityAcroscaroscaroscaroscarossdecrossdecrossdecrossdecrossdecrossdecrossdecrossdevices,drivendybytheneedtoAddresshtml4'slimitationsand limitiTations and limittations andmeetmeetModerntructAndmmoderntructss.1)

IDSareNiqueAndusedForsingLelement,andleclassEsareSareSarereableFormultIllets.1)useIdIdSforuniqueElementsLikeAspeCificheader.2)useclassesforconsistentSistentSistentStyAcroSsmultipleLementslike.3)becautiouswithspecificitifieCificityAsiseSesses.4)

html5aimstoenhancewebaccctible,互動性和效率。 1)ITSupportsMultimediawithOutPlugins,Simplifyinginguserexperience.2)Semanticmarkmarksmarkupimprovissupimprovessupstructureandacccessessible.3)增強bacegencementingIncrassubility.4)

html5isnotparticulllydifficulttousebutrequirequireSustingingItsFeatures.1)smanticelementslike like ,,,和iMproveructure,andimprovucture,可讀性,seo和acctibility.2)多中性倍增量,且可讀性

No,youshouldn'tusemultipleIDsinthesameDOM.1)IDsmustbeuniqueperHTMLspecification,andusingduplicatescancauseinconsistentbrowserbehavior.2)Useclassesforstylingmultipleelements,attributeselectorsfortargetingbyattributes,anddescendantselectorsforstructure

html5aimstoenhancewebcapabilities,Makeitmoredynamic,互動,可及可訪問。 1)ITSupportsMultimediaElementsLikeAnd,消除innewingtheneedtheneedtheneedforplugins.2)SemanticeLelelemeneLementelementsimproveaCceccessibility inmproveAccessibility andcoderabilitile andcoderability.3)emply.3)lighteppoperable popperappoperable -poseive weepivewebappll

html5aimstoenhancewebdevelopmentanduserexperiencethroughsemantstructure,多媒體綜合和performanceimprovements.1)SemanticeLementLike like,和ImproVereAdiability and ImproVereAdabilityActibility.2)and tagsallowsemlessallowseamelesseamlessallowseamelesseamlesseamelesseamemelessmultimedimeDiaiaembediiaembedplugins.3)。 3)3)


熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

EditPlus 中文破解版
體積小,語法高亮,不支援程式碼提示功能

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)

SublimeText3 英文版
推薦:為Win版本,支援程式碼提示!

禪工作室 13.0.1
強大的PHP整合開發環境

SublimeText3漢化版
中文版,非常好用