//CSS
.visibledevice {display:none;}
.visibledesktop {display:display;}
@media (max-width : 320px) {
.visibledevice {display:block;}
.visibledesktop {display:none;}
}
//in the page
<div class="visibledesktop">this displays for desktop and tablet</div>
<div class="visibledevice">this displays for mobile</div>
@media (pointer:none), (pointer:coarse) {
}
Code Example |
---|
Css :: css fixed bottom |
Css :: text align justify |
Css :: invisible button css |
Css :: rounded input css |
Css :: How to make an image fill its container without stretching |
Css :: symfony version check |
Css :: how to wrap text in div css |
Css :: how to snap the scroll is css |
Css :: css width fit to content |
Css :: style disabled button |
Css :: christmas red color code |
Css :: Tailwindcss version check |
Css :: how to change the page background in css |
Css :: input checkbox size css |
Css :: get all tables laravel |
Css :: css element top layer |
Css :: center absolute element css |
Css :: display flex column width auto |
Css :: center nav bar css |
Css :: css grow animation |
Css :: tailwind css disabled button |
Css :: css border botttom |
Css :: css vertical align |
Css :: shadow on hover class on card bootstrap |
Css :: css background full width |
Css :: select html stop blue border |
Css :: word wrap in css |
Css :: zypper download rpm |
Css :: align div to center of screen |
Css :: fade other items on hover |