outline-style
設定大綱框架的樣式。
語法
{outline-style:
sStyle }
可能的值
sStyle
指定或接收下列任一個或多個值的字串:
none |
預設值。無論 outline-width 為何,都不繪製框線。 |
dotted |
框線是由點組成的虛線。 |
dashed |
框線是由破折號組成的虛線。 |
solid |
框線是實線。 |
double |
框線是雙線。outline-width 屬性值必須至少為 3 像素,才能繪製雙框線。 |
groove |
根據值繪製彩色的 3D 立體內凹。 |
ridge |
根據值繪製彩色的 3D 立體浮凸。 |
inset |
根據值繪製彩色的 3D 內凹。 |
outset |
根據值繪製彩色的 3D 外凸。 |
window-inset |
框線與內凹相同,但是周圍另有一條根據值繪製的彩色線。 |
此屬性的預設值為 none 。這不是繼承屬性。
備註
無論大綱寬度為何,顯示大綱都不會造成重新安排流程。大綱框架會在元素上方繪製,而且不會影響該方塊或任何其他方塊的位置或大小。
標準資訊
重要訊息: |
---|
本文件為初步資訊而且可能隨時變更。 |
適用範圍
a, abbr, acronym, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, embed, fieldset, font, form, frame, hn, hr, i, iframe, img, input type=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text, ins, isindex, kbd, label, li, listing, marquee, menu, nobr, object, ol, p, plaintext, pre, q, s, samp, small, span, strike, strong, sub, sup, table, td, textarea, th, tt, u, ul, var, xmp