Property Inheritance
There are certain utility classes that can be used to inherit other
properties from their parent elements. These properties mostly end with the -i
directive.
c-i
- inherit color from parent element (mostly used for links)
bd-i
- inherit parent border
bdh-i
- inherit parent border on hover
oc-i
- inherit parent outline with color
och-i
- inherit parent outline color on hover
oc-ch
- inherit parent color for outline color on hover
d-i
- inherit parent display property
f-i
- inherit parent font size property
h-i
- inherit parent height property
padd-i
- inherit parent padding property
wid-i
- inherit parent width property