File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Week 3 November 22nd
2
+ This week we focused on a couple of new concepts.
3
+
4
+ 1 . Style Class
5
+ - We added a style class to our paragraph html tags called `whiteBg`
6
+ - Then we added that style class to our *style.css* file and learned that `class` in HTML is `.` in css.
7
+ 2 . We learned out to center a container on the page
8
+ - We added `margin-left: auto; margin-right: auto` to our `div#container` (our div with id of container).
9
+ - We set the width of the container to a percentage (we can't center something taking up the whole screen can we?!)
10
+ 3 . We changed the background of the entire page to an image
11
+ - We modified our `body {}` style to use `background-image: url('coder.png');`
12
+ - We added *background-repeat* and experimented setting it to *no-repeat*, *repeat-x* or *repeat-y*.
You can’t perform that action at this time.
0 commit comments