Skip to content

Commit a8f5b51

Browse files
author
Daniel Kim
committed
Added clearfix
1 parent 111dc5b commit a8f5b51

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

css/style.css

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11

2+
.group:after {
3+
content: "";
4+
display: table;
5+
clear: both;
6+
}
27
/* Border-box */
38
html {
4-
box-sizing: border-box;
9+
box-sizing: border-box;
510
font-family: 'Roboto', 'Sans-Serif';
611
font-weight: 300;
712
}
@@ -11,12 +16,11 @@ box-sizing: border-box;
1116
/* key board CSS */
1217
* {
1318
margin: 0;
14-
padding: 0;
19+
padding: 0;
1520
}
1621
body {
17-
font: 71%/1.5;
1822
font-weight: 300;
19-
background: #eee;
23+
background: #fff;
2024
}
2125

2226

@@ -25,14 +29,22 @@ body {
2529
width: 688px;
2630
box-sizing: border-box;
2731
}
32+
33+
.box {
34+
width: 360px;
35+
margin: 0 auto;
36+
border: 2px solid gray;
37+
}
38+
39+
2840
#write {
2941
margin: 0 0 5px;
3042
padding: 5px;
3143
width: 671px;
3244
height: 200px;
3345
font: 1em/1.5;
3446
background: #fff;
35-
border: 1px solid #f9f9f9;
47+
border: 1px solid #fff;
3648
-moz-border-radius: 5px;
3749
-webkit-border-radius: 5px;
3850
}
@@ -49,7 +61,7 @@ body {
4961
line-height: 40px;
5062
text-align: center;
5163
background: #fff;
52-
border: 1px solid #f9f9f9;
64+
border: 1px solid red;
5365
-moz-border-radius: 5px;
5466
-webkit-border-radius: 5px;
5567
}
@@ -85,13 +97,6 @@ body {
8597
.on {
8698
display: none;
8799
}
88-
#keyboard li:hover {
89-
position: relative;
90-
top: 1px;
91-
left: 1px;
92-
border-color: #e5e5e5;
93-
cursor: pointer;
94-
}
95100

96101
#keyboard .down {
97102
position: relative;
@@ -103,3 +108,5 @@ body {
103108
}
104109

105110

111+
112+

0 commit comments

Comments
 (0)