Version: Level 1
Compability: IE4+ N6
The border-top property allows you to declare for the top border the border-top-width, and/or the border-style, and/or the color properties in only one declaration. The color value uses the same values as discussed in border-color. This property is not inherited.
body { border-top: thick dashed yellow; }
body { border-top: thick double green; }
body { border-top: dotted gray;p.bordr
{
border-bottom: 25px solid red;
border-left: 25px solid yellow;
border-right: 25px solid blue;
border-top: 25px solid green;
}
...
<p class="bordr">
DevGuru is great!
</p>
DevGuru is great!