Skip to content

Commit c019b6b

Browse files
committed
responsive for desktop
1 parent c2986a9 commit c019b6b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

assets/styles.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
--purple: hsl(270, 47%, 30%);
44
}
55

6+
/* Navbar */
7+
68
.navbar {
79
background-color: var(--yellow);
810
margin-top: 0.5rem;
@@ -15,8 +17,34 @@
1517
width: 40px;
1618
}
1719

20+
@media (min-width: 768px) {
21+
.nav-logo{
22+
height: 80px;
23+
width: 80px;
24+
}
25+
}
26+
27+
@media (min-width: 1024px) {
28+
.nav-logo{
29+
height: 100px;
30+
width: 100px;
31+
}
32+
}
33+
1834
.nav-text {
1935
font-size: 20px;
2036
text-align: center;
2137
justify-content: center;
2238
}
39+
40+
@media (min-width: 768px) {
41+
.nav-text {
42+
font-size: 32px;
43+
}
44+
}
45+
46+
@media (min-wdith: 1024px) {
47+
.nav-text{
48+
font-size: 36px;
49+
}
50+
}

0 commit comments

Comments
 (0)