Add mediaquery for smaller screens
This commit is contained in:
@@ -22,13 +22,14 @@ button {
|
|||||||
padding: 1rem 1.5rem;
|
padding: 1rem 1.5rem;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: burlywood;
|
background-color: burlywood;
|
||||||
outline: none;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-bottom: 5rem;
|
margin-bottom: 5rem;
|
||||||
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol>li {
|
ol>li {
|
||||||
@@ -44,3 +45,9 @@ ol>li {
|
|||||||
#reset {
|
#reset {
|
||||||
margin-top: 5rem;
|
margin-top: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width:768px) {
|
||||||
|
#grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user