Skip to content

Commit 33fa1df

Browse files
authored
Added @media to make the paragraph smaller for mobile
1 parent 73396b6 commit 33fa1df

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

05 - Flex Panel Gallery/index-FINISHED.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@
8787
flex: 5;
8888
font-size: 40px;
8989
}
90+
91+
@media only screen and (max-width: 600px) {
92+
.panel p {
93+
font-size: 1em;
94+
}
95+
}
9096
</style>
9197

9298

0 commit comments

Comments
 (0)