CHAPTER 17
Border
The border properties are used to format the border around elements. They can be applied to any element and they do not inherit.
border-style
To make the border visible around an element, the border-style property has to be set to a value other than none, which is the default value.
border-style (1-4) | border-top-style |border-right-style | border-bottom-style |border-left-style : none | dashed | dotted | double | groove | hidden | inset | outset | ridge | solid
The solid border style is the one most commonly used, but there are several other options for displaying a border, as seen in Figure 17-1. The hidden value removes ...
Get CSS Quick Syntax Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.