V
V
Vkok2016-02-28 05:42:46
css
Vkok, 2016-02-28 05:42:46

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>
----------------------------

Mobile visitor:
---------------
<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 question

Ask a Question

731 491 924 answers to any question