I am using this code in my websites as a banner widget it works fine but I want that it should not be shown on a mobile device, only visible to the desktop screen. So please help me in adding media query so that it will hide form mobile devices.
<script type='text/javascript'>
$(document).ready(function() {$('img#closed').click(function(){$('#bl_banner').hide(90);});});
</script>
<div id='fixedbox' style='width:100%;margin:auto;text-align:center;float:none;overflow:hidden;display:scroll;position:fixed;bottom:0;z-index:999;-webkit-transform:translateZ(0);'>
<div><a id='close-fixedbox' onclick='document.getElementById('fixedbox').style.display = 'none';' style='cursor:pointer;'><img alt='close' src='http://1.bp.blogspot.com/-_A83iDM6JYc/VhtxROLILrI/AAAAAAAADK4/aM4ikIA6aqI/s1600/btn_close.gif' title='close button' style='vertical-align:middle;'/></a></div>
<div style='text-align:center;display:block;max-width:790px;height:120px;overflow:hidden;border-bottom:2px #005094 solid;
border-top:30px #005094 solid;
border-right:2px #005094 solid;
border-left:2px #005094 solid;margin-left:auto;margin-right:auto;'>
</div>
</div>