?
This document uses PHP Chinese website manual Release
border-right-style:<line-style>
<line-style> = none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset
默認(rèn)值: none
適用于:所有元素
繼承性:無
動(dòng)畫性:否
計(jì)算值:指定值
相關(guān)屬性:[ border-style ] || [ border-top-style ] || [ border-bottom-style ] || [ border-left-style ]
none:
無輪廓。border-color將被忽略,border-width計(jì)算值為0,除非邊框輪廓為圖像,即border-image。
hidden:
隱藏邊框。IE7及以下尚不支持
dotted:
點(diǎn)狀輪廓。IE6下顯示為dashed效果
dashed:
虛線輪廓。
solid:
實(shí)線輪廓
double:
雙線輪廓。兩條單線與其間隔的和等于指定的border-width值
groove:
3D凹槽輪廓。
ridge:
3D凸槽輪廓。
inset:
3D凹邊輪廓。
outset:
3D凸邊輪廓。
如果border-width等于0,本屬性將失去作用。
對(duì)應(yīng)的腳本特性為borderRightStyle。
Values | IE | Firefox | Chrome | Safari | Opera | iOS Safari | Android Browser | Android Chrome |
---|---|---|---|---|---|---|---|---|
Basic Support | 6.0+ | 2.0+ | 4.0+ | 3.1+ | 3.5+ | 3.2+ | 2.1+ | 18.0+ |
hidden | 6.0-7.0 | |||||||
8.0+ | ||||||||
dotted | 6.0 #1 | |||||||
7.0+ |
dotted屬性值顯示為dashed的效果。
<!DOCTYPE html> <html lang="zh-cmn-Hans"> <head> <meta charset="utf-8" /> <title>border-right-style_CSS參考手冊(cè)_web前端開發(fā)參考手冊(cè)系列</title> <meta name="author" content="Joy Du(飄零霧雨), dooyoe@gmail.com, www.doyoe.com" /> <style> .test { border-right-width: 5px; border-right-style: solid; border-right-color: #630; } </style> </head> <body> <div class="test">右邊邊框樣式</div> </body> </html>
點(diǎn)擊 "運(yùn)行實(shí)例" 按鈕查看在線實(shí)例