Font Style

Now we can use font-weight to make our text bold, but how do we make it italicised? For this we can use font-style.

h1 {
	font-style: italic;
}

Try making the h2 element in the Codepen italicised.

See the Pen CSS Properties - Font Style on CodePen.