CSS to show or hide content on particular devices based on width

  <style type="text/css">
    .show-on-mobile { display: none; }

    @media only screen and (max-width:1025px) {
      .show-on-mobile { display: block; }    
    }

    @media only screen and (max-device-width: 480px) {  
      .show-on-mobile { display: block; }    
    }
  </style>