joshuagatcke / HTML-KickStart

Ultra–Lean HTML Building Blocks for Rapid Website Production
http://www.99lime.com
MIT License
1.22k stars 244 forks source link

resposive class in kickstart.js #79

Open FelipeAzambuja opened 8 years ago

FelipeAzambuja commented 8 years ago

Add this code to work var w = $(document).width(); if (w > 1024) { $(".show-desktop").show(); $(".hide-desktop").hide(); } else if (w > 768 && w < 1024) { $(".show-tablet").show(); $(".hide-tablet").hide(); } else if (w < 768) { $(".show-phone").show(); $(".hide-phone").hide(); }