web development

Simple CSS specificity rule guide

There are a few ways to apply CSS styling rules to an element. Each one is less or more specific than another. Applying a rule using a class selector when you’ve applied a different rule using an ID selector won’t work. Batificity isn’t the CSS specificity guide you deserve, but the one you need right now,… (Read More)

Responsive imagemap with interactive highlighting function

A short post to help anyone who is looking to implement a responsive HTML imagemap, which also features an interactive highlighting function.

Using WordPress template parts for my new WordPress theme

The new WordPress theme running this website has been improved by the use of WordPress’ get_template_part function.

The JavaScript argument is racist

The battle royal du jour in the web development community is the argument of whether websites should be built with a JavaScript-based technology like AngularJS, Node.js or React, or using the classic composition of HTML and CSS, then extending it with JavaScript for those browsers which support it. Without reading the detailed arguments from informed developers on both… (Read More)

Why using BEM for your CSS is a bad idea

I came across the BEM (Block, Element, Modifier) technique for CSS coding today. On reading half a dozen basic introductions to the technique, I saw immediately that the concept is based on weak coding principles, not code simplicity and reusability.

Adding diagonal edges to HTML elements

Using CSS pseudo elements to add diagonal borders and edges to the sides of block level elements.

CSS Reset done properly

A CSS Reset (or “Reset CSS”) is a short, often compressed set of CSS rules to reset the styling of HTML elements to a consistent standard. I’ve rolled my own; based on my own experience of CSS programming over the past fourteen years and based on other, well-known reset files.

Can I Use…?

The most useful website I’ve found to use over the past year for front-end web development is “Can I Use” by Alexis Deveria.

Lessons from the Big Web Show

Lessons learned about working in the web whilst listening to the Big Web Show podcast. From keeping a project on track to dampening down your ego a little.

Serving a multilingual website audience

The latest article at A List Apart is a must-read for anyone serious about developing and running a website which should attract visitors who speak languages other than English.