Stylin’ with CSS

The Blog and Books of Charles Wyke-Smith

Doing More with Less

Charles Wyke-Smith photo

Writing CSS in Less enables you to write CSS that is more concise, faster to write and far easier to understand when you revisit it. The primary benefit is that Less lets you nest your CSS rules inside one another the same way as HTML tags are nested, so the relationship between the HTML markup and the CSS that styles it is much clearer, but there are many others, and this article looks at some of the most useful advantages that Less offers.  Read Article

Make External Links Open In New Windows

Discover how to use jQuery to differentiate between internal and external links and open external links in their own windows. I also show how also adding a class allows you to invoke some simple CSS to display a text hint after the link using the ::after pseudo-element, and any other stylings you might want to add to the links that point at pages on other sites.  Read Article