With CSS there’s always a struggle when attempting to write styles that are maintainable, low in specificity, and efficient. From much reading into BEM, SMACSS, OOCSS, and other methodologies which aim to modularise the way CSS can be written, I’ve begun to develop a style which I have found to be incredibly useful in tackling […]
read further
Update (a year later!): An interesting article on the responsive image problem and improving performance using a script which enables you to modify the DOM before loading resources! This morning I read a post in the Responsive Image Community Group by Scott Jehl detailing the latest improvements to his tag poly-fill picturefill.js. A New […]
read further
A few months back I wrote a jQuery plugin to easily allow any element to stay in view when the user scrolls. It’s been on Github since its inception and has had numerous patches and improvements since. Performance The plugin defines a handler for the scroll event so I’ve tried to make it as efficient […]
read further
A quick helper on customising the colour of a user’s text selection.
read further