Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Create a Portfolio Using HTML and CSS!
You have completed Create a Portfolio Using HTML and CSS!
Preview
In this video, we’ll take a mobile-first approach to styling the header and navigation, followed by settings its breakpoints for various screen sizes.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
I'm going to take it one section at
a time with a mobile-first approach, and
0:00
for the sake of this workshop,
I'm going to also hit the changes for
0:00
the desktop view along the way.
0:03
Let's do this.
0:05
Looking at the font in the mobile mockup,
It appears that all of our text is in this
0:07
Young Serif font, except for those bodies
of text that we gave specific classes.
0:12
All of the text is centered as well.
0:18
So I'm going to add these styles
right into our root pseudo class here.
0:20
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up