Skip to content

Commit 1efcc29

Browse files
committed
2 parents e107d72 + b380768 commit 1efcc29

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

css/ex1.css

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@ html{
33
background-attachment: fixed;
44
height: 100%;
55
}
6+
@media (min-width:1000px){
7+
.exercise{
8+
font-size: x-large;
9+
}
10+
.info{
11+
margin: 20px;
12+
}
13+
14+
}
15+
16+
@media (width < 1000px){
17+
.exercise{
18+
font-size: 20px;
19+
}
20+
.info{
21+
margin: 10px;
22+
}
23+
24+
}
625
.container{
726
display:grid;
827
grid-template-columns: 100%;
@@ -26,7 +45,6 @@ html{
2645
margin: 40px;
2746
padding: 30px;
2847
border: 15px solid #6C32BF;
29-
font-size:x-large;
3048
width: 70%;
3149
height: auto;
3250
margin: 0 auto;
@@ -68,7 +86,6 @@ button{
6886
.info{
6987
grid-area: info;
7088
text-align: right;
71-
margin: 20px;
7289
}
7390
input{
7491
color: rgb(0, 0, 0);

0 commit comments

Comments
 (0)