Make website responsive

This commit is contained in:
MoyuScript
2018-01-08 21:38:54 +08:00
parent a03bd8b5a1
commit 45c75b61b8
6 changed files with 140 additions and 47 deletions

View File

@ -18,9 +18,14 @@
padding: 20px;
}
.div1 {
background: darkgreen;
background: darkred;
color: white;
}
@media (min-width: 10px) {
.div1 {
background: darkgreen;
}
}
</style>
<script>
document.querySelector('#style').sheet.insertRule(