Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用媒体查询来加载移动样式表。我希望用户能够单击将禁用此样式表的链接,以便他们能够查看完整的站点,如果他们愿意的话。做这个的最好方式是什么?
您可以通过向其添加“禁用”属性来关闭样式表并添加不带媒体查询的样式表。
关于更改样式表的 ALA 上有一篇很好的(但旧的)文章:
http://www.alistapart.com/articles/alternate/