Answer the question
In order to leave comments, you need to log in
How to assign a DIV to a different class when viewing on mobile?
I mean not to put a completely different css on mobile devices, but only for one DIV so that the classes change, i.e. how to correctly write media inside html page? I hope I made it clear.) Thanks
Desktop visitor:
-----------------
<div class="desktop">
<p>000-000-000</p>
</div>
----------------------------
---------------
<div class="mobile">
<p>000-000-000</p>
</div>
----------------
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question