Community forum for knowledge and support

Updated 5 months ago

Different Classes for Mobile and Desktop Viewports

At a glance

The community member has a question about using different classes for mobile and desktop viewports. A comment suggests that if a class is set on one breakpoint, it will be set on all other breakpoints, but the styles for that class can be changed depending on the breakpoint. The comment recommends reading up on media queries, a CSS fundamental, to understand this concept better. There is no explicitly marked answer to the original question.

Hi, I jave a question related to different classes for mobile and desktop viewports - is there any chance to have them differnet or we should keep the same for each viewports as combo class and only change the properties ?

E
1 comment

If you set a class on one breakpoint, it will be set on all other breakpoints. You can change the styles for that class depending on the breakpoint. I recommend reading up about media queries, a CSS fundamental!

Add a reply
Sign up and join the conversation on Slack