From the course: CSS: Variables and Fluid Layouts

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Step 3: Apply a type scale and custom properties

Step 3: Apply a type scale and custom properties - CSS Tutorial

From the course: CSS: Variables and Fluid Layouts

Start my 1-month free trial

Step 3: Apply a type scale and custom properties

- [Instructor] Our website is looking absolutely fabulous! But at this point, if ya take a look at the style sheet in detail, one of the things you'll notice that I did not address at all are font sizes. And that was actually by design. I haven't addressed font size anywhere in this document. Basically so far we're working with browser default font sizes for our headings and our paragraphs and so forth. But we've written this great code over the course of several challenges. And this is using custom properties to change the size of our type, as we are going through various media queries and so forth. What I'd like to do is, I'd like to grab that old code and integrate it into the page that we're working on. We can tweak it a little bit. And make it look great for this particular web design. What I'd like for you to do, is look in your Exercise Files folder. This is 04_04 in the Begin folder. You'll find a file…

Contents