css border-bottom-width property


  Translation results:

border

UK[ˈbɔ:də(r)] US[ˈbɔ:rdə(r)]

n.Border; edge; edging; wrapping Edge

vt.& vi. Bound with, on the edge of...

vt. Along the edge of, surround..., edge...

vi. Approximate, adjacent

Third person singular: borders Plural: borders Present participle: bordering Past tense: bordered Past participle: bordered

bottom

英[ ˈbɒtəm] 美[ˈbɑ:təm]

n. Bottom; end; hip; end

adj. Bottom of

vt. Install the bottom; measure the depth; find out the truth

vi. Reach the bottom; establish a foundation

Third person singular: bottoms Plural: bottoms Present participle: bottoming Past tense: bottomed Past participle: bottomed

width

UK[wɪdθ] US[wɪdθ, wɪθ, wɪtθ]

n.Width; breadth

Plural: widths

css border-bottom-width propertysyntax

Function:Set the width of the bottom border of the element.

Note: Only works when the border style is not none. If the border style is none, the border width is actually reset to 0. Negative length values ​​are not allowed.

Note: Always declare the border-style attribute before the border-bottom-width attribute. An element can only change the width of its border after it has acquired it.

css border-bottom-width propertyexample

<html>
<head>
<style type="text/css">
p.one 
{
border-style: solid;
border-bottom-width: 15px
}
p.two 
{
border-style: solid;
border-bottom-width: thin
}
</style>
</head>
<body>

<p class="one"><b>注释:</b>"border-bottom-width" 属性如果单独使用的话是不会起作用的。请首先使用 "border-style" 属性来设置边框。</p>
<p class="two">Some text. Some more text.</p>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance

Home

Videos

Q&A