国产探花免费观看_亚洲丰满少妇自慰呻吟_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。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 昌黎县| 永靖县| 公安县| 泰来县| 淳安县| 万源市| 澄江县| 汝南县| 西藏| 东海县| 梅河口市| 泊头市| 永丰县| 米易县| 鹤峰县| 舒城县| 关岭| 梁平县| 石城县| 龙里县| 哈尔滨市| 织金县| 车险| 德化县| 百色市| 柏乡县| 阳高县| 桐乡市| 鹤山市| 中山市| 三门县| 高邑县| 江孜县| 潞西市| 江门市| 潼关县| 府谷县| 平原县| 新干县| 临江市| 吴江市|