Summary
In this chapter, we’ve learned how to select almost anything we need on the page with CSS’s powerful selection capabilities.
We’ve also learned how to add custom web typography to a design with the @font-face
rule, freeing us from the shackles of the humdrum selection of web-safe fonts of yesteryear. We also took a dive into variable fonts and considered many of the possibilities they have to offer.
Alongside all that, we also found time to look at the @supports
at-rule for providing feature forks in our code.
Despite all these great new features and techniques, we’ve still only touched the surface of what we can do with CSS.
In the next chapter, we are going to take an extended look at colors in CSS. Recent additions to the specifications mean it’s now a bigger topic than ever before. So, let’s find out all about that in Chapter 7, CSS Color.
Join our book’s Discord space
Variable fonts getting you down...