Skip to content

Commit efca38b

Browse files
Update styles.css
Added Responsive Design Code in styles.css File
1 parent 2a6b1b0 commit efca38b

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Build A Tribute Page/styles.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,23 @@ footer {
7676
text-decoration: none;
7777
font-weight: bold;
7878
}
79+
80+
81+
/* Responsive Design */
82+
@media screen and (max-width: 600px) {
83+
.container {
84+
padding: 10px;
85+
}
86+
87+
.title {
88+
font-size: 1.5em;
89+
}
90+
91+
.subtitle {
92+
font-size: 1em;
93+
}
94+
95+
.img {
96+
margin-top: 10px;
97+
}
98+
}

0 commit comments

Comments
 (0)