国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > CSS > 正文

學習CSS需要知道的CSS基礎知識

2024-07-11 08:22:32
字體:
來源:轉載
供稿:網友
 一、可設置的css屬性包括:字體屬性、文本屬性、顏色及背景屬性、邊框屬性、容器屬性(邊距屬性、填充屬性)、分類屬性、鼠標屬性。

  二、基礎屬性

字體屬性:font-family font-style font-variant font-weight font-size
文本屬性:word-spacing letter-spacing text-decoration vertical-align text-transform
     text-align text-indent line-height
顏色背景屬性:color background(background-color background-image background-repeat
       background-attachment background-position)
邊框屬性:border(border-top border-right border-bottom border-left)(border-width
     border-style border-color)
容器屬性:margin padding width height float clear
分類屬性:display white-space list-style-type list-style-image list-style-position
     list-style
鼠標屬性:auto crosshair default hand move e-resize ne-resize nw-resize n-resize se-resize
     sw-resize s-resize w-resize text wait help

  三、css布局
  css盒模型的理解對于css布局有很大幫助,每個元素都有一個元素盒。html布局通常使用div+css,將網頁分為很多方塊,每個方塊和整個總體都可以各用一個div容納,然后用css對各個div進行布局。常用布局屬性包括:margin padding float clear top right buttom left z-index position。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 长垣县| 颍上县| 宜阳县| 综艺| 吕梁市| 启东市| 马边| 牡丹江市| 奎屯市| 四川省| 辛集市| 金乡县| 枣阳市| 鹤庆县| 肃北| 和政县| 绩溪县| 穆棱市| 营口市| 康马县| 东明县| 松桃| 河曲县| 岑溪市| 双辽市| 青川县| 德令哈市| 林口县| 深泽县| 灵石县| 榆树市| 阜阳市| 长武县| 剑河县| 夹江县| 萝北县| 澄迈县| 措美县| 绥芬河市| 伊吾县| 叶城县|