Skip to content

Commit a438371

Browse files
committed
made it responsive
1 parent bde72e5 commit a438371

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Projects/Github Profile Wrapper/style.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ body {
3030
h2{
3131
font-family: 'Kalam', cursive;
3232
}
33+
@media (min-width: 470px) {
34+
#search-btn {
35+
width:50px;
36+
}
37+
}
3338
.container {
3439
width: 100%;
3540
height: 100%;
@@ -114,6 +119,35 @@ h2{
114119
color: #000000;
115120
box-shadow: 2px 3px grey;
116121
}
122+
@media (max-width: 470px) {
123+
#search-btn {
124+
width:70px;
125+
height:25px;
126+
font-size: small;
127+
}
128+
}
129+
@media (max-width: 299px) {
130+
h2{
131+
font-size:small ;
132+
}
133+
#search-btn {
134+
width:50px;
135+
height:25px;
136+
font-size: small;
137+
}
138+
}
139+
@media (max-width: 182px) {
140+
h2{
141+
font-size:x-small ;
142+
}
143+
#search-btn {
144+
width:25px;
145+
height:20px;
146+
font-size:x-small;
147+
letter-spacing: 0;
148+
}
149+
150+
}
117151
.card{
118152

119153

0 commit comments

Comments
 (0)