January 2018
Intermediate to advanced
678 pages
20h 16m
English
Now onto the next category of CSS properties—border properties. As expected, the border properties allow you to specify the appearance of borders that surround elements. We won’t bother to cover all the border properties, just the more important ones. Specifically, we’ll describe the border-style, border-width, and border-color properties. Then we’ll finish with the border shorthand property.
border-style PropertyThe border-style property specifies the type of border that surrounds the matched element. Here are the valid values for the border-style property:
Here’s an example class selector rule that uses the
Read now
Unlock full access