fix mobile style

This commit is contained in:
DIYgod 2017-07-25 02:47:11 +08:00
parent 41578d58cf
commit e1212ec79f
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67

View File

@ -1,7 +1,7 @@
body {
max-width: 700px;
margin: 0 auto;
padding: 45px;
padding: 45px 10px;
}
.example {
@ -13,6 +13,12 @@ body {
border: 1px solid #ddd;
}
@media (max-width:500px) {
.example {
padding: 39px 10px 14px;
}
}
.example:after {
content: "Example";
position: absolute;