Folks,
I want to use “Class” to alter a text box’s margins and padding when displaying on mobile versus desktop/laptop. So far none of my experiments have been fruitful.
I’m trying to create CSS like this:
@media only screen and (max-width: 700px) {
.mobi {
padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
}
}
What am I doing wrong?

