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
Let’s begin styling the primary sections of the page, maintaining our mobile-first approach.
Resources
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 removing that temporary
size I gave it up top,
0:00
then I'm just going to give
it a width of 200 pixels.
0:00
That actually looks pretty good.
0:12
I'm immediately noticing that it looks
like the main content has a bit of
0:14
space on the outside and
the same amount of space on the inside.
0:18
So I'm going to come up to my base
styles and take care of this real fast.
0:21
I'll target the main element and give it
some horizontal margin with margin-inline.
0:26
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