My question is very very simple.(I am a beginner in the css/html/javascript)
I would like to hide a div in mobile browser and show that div in the other devices (PC&Laptop).
how can I do?
Take a look at the responsive utilities documentation of Bootstrap at http://getbootstrap.com/css/#responsive-utilities.
In this specific case you could for example use the class visible-xs-block
to make a <div>
only visible on the xs breakpoint that's used for mobile phones, and the class hidden-xs
to make a <div>
visible on all other breakpoints.
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" />
<div class="visible-xs-block">only visible on xs</div>
<div class="hidden-xs">visible on everything but xs</div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With