I've issue with media queries.I want the media queries to not work after the dom is loaded. I've tried so far this
$('meta[name="viewport"]').prop('content', 'width='+screen.width);
from this link
but still media queries are working.
Any help would be appreciated.
Thanks
If you want to disable all media queries, use class="mediaSheet" into your media sheets and then:
$('.mediaSheet').each(function(){
$(this)[0].sheet.disabled = true;
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.