3. border #
Created Monday 15 June 2020
border #
- Short-hand(size type color). Example:
border: 1px solid black
- By default, the properties apply to all the 4 sides.
- Properties
border-color
. This is inherited.border-style: solid | dotted
border-width: {unit} | thin | medium | thick
Individual border (top or left or right or bottom) can be styled by using a 3 worded key. Example:border-top-color
.
Rounded corners aka border-radius
#
- border-radius: radius of the circle.