This is a good code snippet you can use to style multiple sub-headings and content within them. Designed by Kevin Lesht
If you are having trouble with the pen, try the archived copy on GitHub
See the Pen Typography Experiment by Kevin Lesht (@klesht) on CodePen.0