CSS基礎(chǔ)知識(shí)_Div+CSS教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
一、可設(shè)置的CSS屬性包括:字體屬性、文本屬性、顏色及背景屬性、邊框?qū)傩浴⑷萜鲗傩裕ㄟ吘鄬傩浴⑻畛鋵傩裕⒎诸悓傩浴⑹髽?biāo)屬性。
二、基礎(chǔ)屬性
字體屬性: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)
邊框?qū)傩裕篵order(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
鼠標(biāo)屬性: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布局有很大幫助,每個(gè)元素都有一個(gè)元素盒。HTML布局通常使用div+CSS,將網(wǎng)頁分為很多方塊,每個(gè)方塊和整個(gè)總體都可以各用一個(gè)div容納,然后用CSS對各個(gè)div進(jìn)行布局。常用布局屬性包括:margin padding float clear top right buttom left z-index position。
二、基礎(chǔ)屬性
字體屬性: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)
邊框?qū)傩裕篵order(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
鼠標(biāo)屬性: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布局有很大幫助,每個(gè)元素都有一個(gè)元素盒。HTML布局通常使用div+CSS,將網(wǎng)頁分為很多方塊,每個(gè)方塊和整個(gè)總體都可以各用一個(gè)div容納,然后用CSS對各個(gè)div進(jìn)行布局。常用布局屬性包括:margin padding float clear top right buttom left z-index position。
相關(guān)Div+CSS教程:
- DIV+CSS設(shè)計(jì)的誤區(qū)
- CSS基礎(chǔ):常用CSS英文字體介紹
- IE6和IE7中border邊框斷線現(xiàn)象
- border:none;與border:0;的有什么不同?
- div+css下js對聯(lián)廣告不隨屏幕滾動(dòng)的解決方法
- HTML元素的ID和Name屬性的區(qū)別
- divcss教程:深入了解css的行高Line Height屬性
- CSS文檔流,塊級(jí)元素和內(nèi)聯(lián)元素
- 5個(gè)你該知道的CSS3新技術(shù)
- 用正則表達(dá)式替換a標(biāo)記href值
- 30個(gè)優(yōu)秀的CSS導(dǎo)航和按鈕設(shè)計(jì)教程
- css中px和em有什么區(qū)別
Div+CSS教程Rss訂閱Div+Css教程搜索
Div+CSS教程推薦
猜你也喜歡看這些
- DIV CSS布局入門示例(一)頁面布局與規(guī)劃
- 鼠標(biāo)指住(hover)變色的按鈕演示demo
- CSS實(shí)例教程:用列表ul制作CSS橫向菜單的基礎(chǔ)知識(shí)
- 用css網(wǎng)站布局之十步實(shí)錄!(三)
- CSS菜單:基本橫向菜單效果超炫
- CSSFormExample:帶有小圖標(biāo)的清爽CSS表單設(shè)計(jì)!
- CSS去除表格td默認(rèn)間距及制作1px細(xì)線表格
- DivCSS布局實(shí)例用dldtdd來制作列表
- CSS網(wǎng)站風(fēng)格設(shè)計(jì)實(shí)例HuDong123
- CSS菜單實(shí)例:按鈕效果跳躍的藍(lán)色精靈
- 相關(guān)鏈接:
- 教程說明:
Div+CSS教程-CSS基礎(chǔ)知識(shí)。