File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
days/013-016-css-basics/demos/selectorville Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 22
22
< div >
23
23
< div id ="top-div ">
24
24
< img src ="static/img/dunecat.jpg " alt ="">
25
- < div > This is a message</ div >
25
+ < div class ="msg "> This is a message</ div >
26
+ < div style ="clear: both; "> </ div >
26
27
</ div >
27
28
28
29
< div class ="page-content ">
29
30
31
+ < p > < a href ="index.html "> « home</ a > </ p >
32
+
30
33
< p >
31
34
Lorem ipsum dolor amet bushwick banh mi irony sustainable twee slow-carb whatever iPhone austin kale chips vegan
32
35
meh flannel sartorial crucifix. Lyft ramps biodiesel asymmetrical offal, four dollar toast succulents meggings
51
54
Content via < a href ="https://hipsum.co "> Hipster Ipsum</ a >
52
55
</ p >
53
56
54
- < p > < a href ="index.html "> « home</ a > </ p >
55
57
56
58
</ div >
57
59
Original file line number Diff line number Diff line change 4
4
padding : 0 ;
5
5
}
6
6
7
+ # top-div img {
8
+ float : right;
9
+ height : 96px ;
10
+ }
11
+
7
12
# top-div {
8
13
background-color : # 222 ;
9
14
color : white;
10
15
font-size : 48px ;
11
16
padding : 10px ;
12
17
}
13
18
19
+ # top-div .msg {
20
+ margin-top : 12px ;
21
+ margin-left : 10px ;
22
+ }
23
+
14
24
a {
15
25
font-weight : bold;
16
26
}
You can’t perform that action at this time.
0 commit comments