Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
how to hide content on mobile and show on desktop responsive view
It depends on the framework you're using - in bootstrap 4, for example, you can do this with something like:
<div class="d-none d-sm-block">@*content here*@</div>
Which will hide the content on an "extra small" screen (below about 576 pixels wide), but show it on anything bigger than that.
You can also do it with media queries yourself, but most responsive frameworks will have something built in.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
html css and Js
how to hide content on mobile and show on desktop responsive view
It depends on the framework you're using - in bootstrap 4, for example, you can do this with something like:
Which will hide the content on an "extra small" screen (below about 576 pixels wide), but show it on anything bigger than that.
You can also do it with media queries yourself, but most responsive frameworks will have something built in.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.