大战熟女丰满人妻av-荡女精品导航-岛国aaaa级午夜福利片-岛国av动作片在线观看-岛国av无码免费无禁网站-岛国大片激情做爰视频

專注Java教育14年 全國咨詢/投訴熱線:400-8080-105
動力節(jié)點LOGO圖
始于2009,口口相傳的Java黃埔軍校
首頁 學(xué)習(xí)攻略 Java學(xué)習(xí) CSS標(biāo)簽屬性大全

CSS標(biāo)簽屬性大全

更新時間:2022-03-21 12:10:01 來源:動力節(jié)點 瀏覽4616次

CSS常用標(biāo)簽屬性大全

CSS標(biāo)簽屬性大全

1.CSS文字屬性:

color : #999999; /*文字顏色*/

font-family : 宋體,sans-serif;/*文字字體*/

font-size : 9pt; /*文字大小*/

font-style:itelic; /*文字斜體*/

font-variant:small-caps; /*小字體*/

letter-spacing : 1pt; /*字間距離*/

line-height : 200%; /*設(shè)置行高*/

font-weight:bold; /*文字粗體*/

vertical-align:sub; /*下標(biāo)字*/

vertical-align:super; /*上標(biāo)字*/

text-decoration:line-through; /*加刪除線*/

text-decoration: overline; /*加頂線*/

text-decoration:underline; /*加下劃線*/

text-decoration:none; /*刪除鏈接下劃線*/

text-transform : capitalize; /*首字大寫*/

text-transform : uppercase; /*英文大寫*/

text-transform : lowercase; /*英文小寫*/

text-align:right; /*文字右對齊*/

text-align:left; /*文字左對齊*/

text-align:center; /*文字居中對齊*/

text-align:justify; /*文字分散對齊*/

vertical-align屬性

vertical-align:top; /*垂直向上對齊*/

vertical-align:bottom; /*垂直向下對齊*/

vertical-align:middle; /*垂直居中對齊*/

vertical-align:text-top; /*文字垂直向上對齊*/

vertical-align:text-bottom; /*文字垂直向下對齊*/

2.CSS邊框空白

padding-top:10px; /*上邊框留空白*/

padding-right:10px; /*右邊框留空白*/

padding-bottom:10px; /*下邊框留空白*/

padding-left:10px; /*左邊框留空白

3.CSS符號屬性:

list-style-type:none; /*不編號*/

list-style-type:decimal; /*阿拉伯?dāng)?shù)字*/

list-style-type:lower-roman; /*小寫羅馬數(shù)字*/

list-style-type:upper-roman; /*大寫羅馬數(shù)字*/

list-style-type:lower-alpha; /*小寫英文字母*/

list-style-type:upper-alpha; /*大寫英文字母*/

list-style-type:disc; /*實心圓形符號*/

list-style-type:circle; /*空心圓形符號*/

list-style-type:square; /*實心方形符號*/

list-style-image:url(/dot.gif); /*圖片式符號*/

list-style-position: outside; /*凸排*/

list-style-position:inside; /*縮進*/

4.CSS背景樣式:

background-color:#F5E2EC; /*背景顏色*/

background:transparent; /*透視背景*/

background-image : url(/image/bg.gif); /*背景圖片*/

background-attachment : fixed; /*浮水印固定背景*/

background-repeat : repeat; /*重復(fù)排列-網(wǎng)頁默認*/

background-repeat : no-repeat; /*不重復(fù)排列*/

background-repeat : repeat-x; /*在x軸重復(fù)排列*/

background-repeat : repeat-y; /*在y軸重復(fù)排列*/

指定背景位置

background-position : 90% 90%; /*背景圖片x與y軸的位置*/

background-position : top; /*向上對齊*/

background-position : buttom; /*向下對齊*/

background-position : left; /*向左對齊*/

background-position : right; /*向右對齊*/

background-position : center; /*居中對齊*/

5.CSS連接屬性:

a /*所有超鏈接*/

a:link /*超鏈接文字格式*/

a:visited /*瀏覽過的鏈接文字格式*/

a:active /*按下鏈接的格式*/

a:hover /*鼠標(biāo)轉(zhuǎn)到鏈接*/

鼠標(biāo)光標(biāo)樣式:

鏈接手指 CURSOR: hand

十字體cursor:crosshair

箭頭朝下cursor:s-resize

十字箭頭 cursor:move

箭頭朝右 cursor:move

加一問號 cursor:help

箭頭朝左cursor:w-resize

箭頭朝上cursor:n-resize

箭頭朝右上cursor:ne-resize

箭頭朝左上cursor:nw-resize

文字I型 cursor:text

箭頭斜右下cursor:se-resize

箭頭斜左下cursor:sw-resize

漏斗 cursor:wait

光標(biāo)圖案(IE6) p {cursor:url("光標(biāo)文件名.cur"),text;}

6.CSS框線一覽表:

border-top : 1px solid #6699cc; /*上框線*/

border-bottom : 1px solid #6699cc; /*下框線*/

border-left : 1px solid #6699cc; /*左框線*/

border-right : 1px solid #6699cc; /*右框線*/

以上是建議書寫方式,但也可以使用常規(guī)的方式如下:

border-top-color : #369 /*設(shè)置上框線top顏色*/

border-top-width :1px /*設(shè)置上框線top寬度*/

border-top-style : solid/*設(shè)置上框線top樣式*/

其他框線樣式

solid /*實線框*/

dotted /*虛線框*/

double /*雙線框*/

groove /*立體內(nèi)凸框*/

ridge /*立體浮雕框*/

inset /*凹框*/

outset /*凸框*/

7.CSS表單運用:

文字方塊

按鈕

復(fù)選框

選擇鈕

多行文字方塊

下拉式菜單選項1選項2

8.CSS邊界樣式:

margin-top:10px; /*上邊界*/

margin-right:10px; /*右邊界值*/

margin-bottom:10px; /*下邊界值*/

margin-left:10px; /*左邊界值*/

大家在學(xué)習(xí)CSS的過程中,css標(biāo)簽屬性是一定要了解的,希望本篇能給大家?guī)韼椭?/p>

提交申請后,顧問老師會電話與您溝通安排學(xué)習(xí)

免費課程推薦 >>
技術(shù)文檔推薦 >>
主站蜘蛛池模板: 97影院理论片 | 香蕉网在线播放 | 五月婷婷色播 | 亚洲国产99在线精品一区69堂 | 久久成人免费播放网站 | 亚洲精品播放 | 中文字幕一区二区三 | 四虎海外影院 | 久久久久国产精品免费 | 日韩美毛片 | 久久久精品久久久久特色影视 | 亚洲精品亚洲人成毛片不卡 | 男人草女人视频 | 一级毛片特级毛片免费的 | 欧美高清无砖专区欧美精品 | 亚洲好色网 | 国产区在线视频 | 欧美日韩性猛交xxxxx免费看 | 亚洲欧美中文字幕 | 欧美日韩高清 | 日本一级毛一级毛片短视频 | 欧美综合视频在线观看 | 精品国产免费一区二区三区 | 一区二区三区亚洲视频 | 亚洲国产精品悠悠久久琪琪 | 日本一级毛片片在线播放 | 欧美日穴 | 婷婷爱爱 | 久久精品国产一区二区三区日韩 | 久草精彩视频 | 欧美午夜在线观看 | 天天爱天天爽 | 久久er这里只有精品 | 国产精品 视频一区 二区三区 | 99久热这里只有精品免费 | 直接看毛片 | 四虎在线观看网址 | 天天干天天操天天干 | 啪啪一级视频 | 99热免费精品| 免费在线成人网 |