Skip to content

Commit feb3a33

Browse files
张欧文张欧文
张欧文
authored and
张欧文
committed
build up float layout
1 parent 710f114 commit feb3a33

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

starter/04-CSS-Layouts/style.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ body {
1414
}
1515

1616
.container {
17-
width: 800px;
17+
width: 1200px;
1818
/* margin-left: auto;
1919
margin-right: auto; */
2020
margin: 0 auto;
@@ -290,3 +290,17 @@ nav {
290290
clear: both;
291291
display: block;
292292
}
293+
294+
article {
295+
float: left;
296+
width: 825px;
297+
}
298+
299+
aside {
300+
width: 300px;
301+
float: right;
302+
}
303+
304+
footer {
305+
clear: both;
306+
}

0 commit comments

Comments
 (0)