J• 330
@littledragonshrimp
Submitted
- How do you make the text an appropriate size at different window sizes?
- How do you make the square centered horizontally?
- How would you simplify the process of doing this?
@g0sie
@littledragonshrimp
Submitted
@g0sie
Posted
To make different font-size for different window sizes you can use media queries. For example:
p {
font-size: 12px;
}
@media (min-width: 600px) {
p {
font-size: 14px;
}
}