Is there a way I can set a line break for desktop design but not mobile?

Usually I’ve been using media queries but this situation doesn’t seem to apply to that.

It is possible to write JavaScript that checks the size of the window and shows or hides an element based on that.

Typically, though, if it’s a matter of styling/appearance and it can be controlled via CSS, then that’s the preference.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.