Chapter 13. CSS: Styling Borders and Drawing Lines
In this chapter, you'll learn how to style borders and draw lines.
Unlike with drawing software, you cannot draw lines using a line tool or pen tool. You can draw a horizontal line using the <hr>
element but it is mainly used to semantically separate sections. In website design, using border styling is the main approach to drawing lines.
The following lessons are covered in this chapter.
Lessons in this chapter
- border-style
- border-color
- border-width
- border-radius
- Border (Multiple Properties)
- Borders on Specific Side
- Border Radius on Specific Side