Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

semantic-ui hide element for mobile view

I am looking for semantic-ui the correct class to hide for example a DIV in mobile view. In Bootstrap its easy there we have "visible-xs" and "hidden-xs".

But on semantic ui I only found "mobile only grid"

like image 497
squashpat Avatar asked Jan 16 '17 18:01

squashpat


1 Answers

Please visit here just add to your override css file

/* Mobile */

@media only screen and (max-width: 767px) {
[class*="mobile hidden"],
[class*="tablet only"]:not(.mobile),
[class*="computer only"]:not(.mobile),
[class*="large monitor only"]:not(.mobile),
[class*="widescreen monitor only"]:not(.mobile),
[class*="or lower hidden"] {
display: none !important;
}
}
etc...

https://jsfiddle.net/8LkLoxcx/

like image 155
Achmed Zuzali Avatar answered Jan 04 '23 07:01

Achmed Zuzali