Building Typographic Scales in CSS with :heading(), sibling-index(), and pow()

In my previous article , I introduced the :heading pseudo-class and showed how it can simplify styling all headings in groups, or all at once. Today, I want to take that much further and show how combining :heading() with two other CSS features— sibling-index() and pow() lets us build flexible, maintainable typographic scales with just a few lines of code. Important limitation: sibling-index()…