Glubase - share your knowledge


All / Computers / Programming / CSS





  • View Command

CSS Reference

CSS border-bottom definition

Browser support
IEFFOpSaf

Type:

Syntax

border-bottom: <border-bottom-width> || <borderstyle> || <color>

Description

The border-bottom property sets the properties of the bottom border of a HTML element.

Values

Values Definition
border-width border-style border-color Sets all three properties for all four borders

See also

border-style, border-color, border-width

 

Example

[Try this example yourself]
<style type="text/css">
.bottom1

  border-bottom: thick dotted #FFFF00
}
.bottom2

  border-bottom: double #FF0000
}
</style>
<div class="bottom1">
  Bottom 1
</div>
<div class="bottom2">
  Bottom 2
</div>

Output

Bottom 1
Bottom 2
  • Comments

No comments added.