border is not inherited by default. The child uses inherit to copy the parent’s 3px solid teal border.
border
3px solid
Lines: 0 | Characters: 0