css border-bottom 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

css border-bottom propertysyntax

Function: Set all properties of the lower border into one statement.

Syntax: You can set the following attributes in order: border-bottom-width, border-bottom-style, border-bottom-color. If one of the values ​​is not set, it will not There will be problems, such as border-bottom:solid #ff0000; is also allowed.

Description: border-bottom-width specifies the width of the bottom border. border-bottom-style specifies the style of the bottom border. border-bottom-color specifies the color of the bottom border. inherit specifies that the setting of the border-bottom property should be inherited from the parent element.​

Note: IE7 and earlier browsers do not support the value "inherit". IE8 requires !DOCTYPE. IE9 supports "inherit".

css border-bottom propertyexample

<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>

Run instance »

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

Popular Recommendations

Home

Videos

Q&A