Responsive Text Alignment in CSS


Adjust text alignment based on viewport size for better readability on different devices.

Source Code

@media (max-width: 600px) {
    .responsive-text {
        text-align: center;
    }
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments