background-size-polyfill – Adds support for background-size “cover” and “contain” to IE8
Category: Resources
[WordPress] Resource – Loading Parent Styles for Child Themes
The always insightful Justin Tadlock has posted a great post on how best to handle stylesheets in child themes. Though there are many options for this, including the infamous @import technique, Justin recommends loading the styles directly from the parent theme itself. It’s a simple but effective solution that should work for 99% of cases.
Resource – Auto Prefixer
Fantastic library to parse CSS and add vendor prefixes to CSS rules. Supports Grunt, Gulp, and many other libraries/tools.
Resource – Responsinator
A simple website for testing device widths for the most common Apple and Android devices. Remember – it’s no replacement for actually testing on these devices along with as many widths and breakpoints as possible. Also remember, device-agnostic responsive sites should be the true goal. However, for basic development and simple testing this is a nice resource.
Resource – SweetAlert JavaScript Plugin
A nice alternative to using the ol’ and ugly default Javascript alert box. Allows multiple options and callbacks while staying small and simple.
Resource – URL Rewriting for the Fearful
Link:
http://24ways.org/2013/url-rewriting-for-the-fearful/
Description:
Fantastic article by Drew McLellan on using url rewriting in your .htaccess files. Covers basics and real world examples. Great as a resource for order of operations, common flags, pitfalls, and sample code. Heavy emphasis on rewriting used by common web frameworks, such as rewriting every request to a master URL for MVC delegation.
Notes:
- URL rewrites will send new matching URLs through the rest of your rules. Use the “L” flag or plan accordingly by having “real” files in an excluded directory.
- Another resource linked from the article – mod_rewrite Beginners guide.
Resource – Intro to Grunt by Chris Coyier on 24 Ways
Link:
http://24ways.org/2013/grunt-is-not-weird-and-hard/
Description:
Fantastic resource on getting started with Grunt.js. Practical implementations of script concats, minimizing, and automation. Recommend as a simple resource and starting template for many common web site tasks.
Notes:
- The concat plugin will combine files in the order given, or in the order the search parameters reveal. Make sure you’re loading scripts dependencies first.
- http://gruntjs.com/
- https://github.com/gruntjs/grunt-contrib-concat
- https://github.com/gruntjs/grunt-contrib-uglify