KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
i have a website that uses screen.css as main CSS file. I added this for monitors with a 1024+ resolution. $(document).ready(function(){ if(screen.width > 1024) { $('link').attr('href','hi-res.css'); } }); The problem is that hi-res.css is replacing screen.css... i don't want to replace it, i just want to load an additional css in that case. Any ideas? Thanks.
Tags (comma-separated)
Save Edits
Cancel