I like a much reduced set of body classes when coding up a WordPress theme. Two template types, two main classes. Oh, and I put it on the HTML element too. To call my coding opinionated is somewhat of an understatement.
As I work on patterns for my site redesign, I generated two templates without consideration for microformats. The two templates I created were for a WordPress archive template and an article/page template. Microformats add structured data to a web site. Using microformats allow machines reading a site to know find information such as the: page […]
The Filament Group continues to do great work: Font Loading Revisited with Font Events
calc isn’t a new feature, but at the time of writing MDN describes it as experimental: this technology’s specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers […]
Internet Explorer makes me sad every time I open it to cross-browser test during development and it crashes on console.log. A simple check OR define option can kill console in the IE developer toolbar, so I decided to write a more robust cross-browser compatible console.log.
Jeremy Keith’s recent post Polyfills and products asked an interesting question about handing polyfilled code to clients: [Short term client projects] makes it very tricky to include a polyfill in our deliverables. We’d need to figure out a way of also including a timeline for revisiting that polyfill and evaluating when it’s time to drop […]
There are a few Sass media query mixins going around for dealing with old versions of IE. Often they include predefined break points, whereas I like the simplicity of passing a numeric value. Capable browsers wrap the content in a media query, incapable browsers get the unwrapped content.
As I’ve mentioned previously, I’m in the process of redesigning this web site. It’s very much a work in progress. Pattern Library As a first step I’m building a pattern library and I’ve decided to open source the repo during the build process. I’m using Pattern Lab for the purpose.
The MDN page titled Sections and Outlines of an HTML5 Document includes the following warning: There are currently no known implementations of the outline algorithm in graphical browsers or assistive technology user agents […] authors are advised to use heading rank (h1 – h6). Given the speed at which CSS3 is implemented, this is disappointing. […]