Set class for mobile use only?

I thought I read somewhere that custom classes could be applied to elements on a platform size/visibility basis? Did I imagine that?

For example, I could have three custom classes - small, medium, large.

My bloc would have “small” applied when visible on mobile, “medium” when visible on tablet and “large” when visible on desktop.

:+1: yes

There is currently no working, but it would be nice.
Actually can be solved with externally added css.

// for table and mobile
@media screen and (max-width: 767px) {
	...
}
1 Like