fauzanjeg

CSS to Hide Elements on each Device

May 11th, 2021 (edited)
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.47 KB | None | 0 0
  1. /* Dekstop */
  2. .jnews_dekstop_hidden_element {
  3.     display:none!important;
  4. }
  5.  
  6. /* Tablet Landscape */
  7. @media (min-width: 992px) and (max-width: 1199px) {
  8.     .jnews_tb_ls_hidden_element {
  9.         display:none!important;
  10.     }
  11. }
  12.  
  13. /* Tablet Portrait */
  14. @media (min-width: 768px) and (max-width: 991px) {
  15.     .jnews_tb_pt_hidden_element {
  16.         display:none!important;
  17.     }
  18. }
  19.  
  20. /* Mobile Device */
  21. @media (max-width: 767px) {
  22.     .jnews_mobile_hidden_element {
  23.         display:none!important;
  24.     }
  25. }
Add Comment
Please, Sign In to add comment