border
英[?b?:d?(r)]? ?美[?b?:rd?(r)]??
#n.邊界;邊;鑲邊;包;邊
vt.& vi.與…接界,在…的邊上
vt.沿…的邊,環(huán)繞…,給…鑲邊
##vi.近似,毗鄰第三人稱單數(shù): borders 複數(shù): borders 現(xiàn)在分詞: bordering 過去式: bordered 過去分詞: bordered#bottom
n[ ?b?t?m]? ?美[?bɑ:t?m]??n.底部;末端;臀部;盡頭adj.底部的vt.裝底;測(cè)量深淺;找出真相vi.到達(dá)底部;建立基礎(chǔ)第三人稱單數(shù): bottoms 複數(shù): bottoms 現(xiàn)在分詞: bottoming 過去式: bottomed 過去分詞: bottomed
css border-bottom屬性 語法
作用:把下邊框的所有屬性設(shè)定到一個(gè)宣告中。
語法:可以依序設(shè)定下列屬性:border-bottom-width,border-bottom-style,border-bottom-color,如果不設(shè)定其中的某個(gè)值,也不會(huì)出問題,例如border-bottom:solid #ff0000; 也是允許的。
說明:border-bottom-width ? ?規(guī)定下邊框的寬度。 border-bottom-style ? ?規(guī)定下邊框的樣式。 border-bottom-color ? ?規(guī)定下邊框的顏色。 inherit ? ?規(guī)定應(yīng)該從父元素繼承 border-bottom 屬性的設(shè)定。? ??
註解:IE7 以及更早版本的瀏覽器不支援值 "inherit"。 IE8 需要 !DOCTYPE。 IE9 支援 "inherit"。
css border-bottom屬性 範(fàn)例
<html> <head> <style type="text/css"> p { border-style:solid; border-bottom:thick dotted #ff0000; } </style> </head> <body> <p>This is some text in a paragraph.</p> </body> </html>
執(zhí)行實(shí)例 ?
點(diǎn)擊 "執(zhí)行實(shí)例" 按鈕查看線上實(shí)例