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 Treehouse Club: JavaScript!
You have completed Treehouse Club: JavaScript!
Preview
Explore some styling techniques in CSS, including the background color, margin, and padding.
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
The first thing you find here on our style
sheet is the background color, and when
0:00
you hover over this hexidecimal number, it
matches the background color to our page.
0:02
You should change this color to something
you like.
0:07
So I've linked a few pages about
hexadecimal colors in the teacher's notes.
0:10
Next you have the body styling, even
though there's no text on our webpage,
0:14
the button images are all located inside
the body.
0:20
So we have to make sure they follow the
styling we want.
0:23
Here I've used two numbers to describe the
margin.
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