The border properties specify the width, color, and style of the border of an element. Shorthand border properties include border-top, border-bottom, border-right, border-left, and border as shown in Listing 5.11. Listing 5.11. CSS Code Containing Various Shorthand border Propertiesp { border-top: 1px solid red; } p { border-right 1px solid red; } p { border-bottom: 1px solid red; } p { border-left: 1px solid red; } p { border: 1px solid red; } |