Make headings (h1, h2, …) inherit style from body

You can simply set setup styles at the top of your CSS sheet like this.

h1{}
h2{}
body{}

or

body h1{}
body h2{}

To adjust these styles later on, simply add new styles further down your CSS sheet. Since your
CSS sheet is a Cascading Style Sheet it inherits styles from the top of the sheet downward.

Leave a Comment