Technically this isn’t much of a blog post, but I saw a great quote by Jeremy Keith on the subject of CSS simplicity and wanted to share it as it mirrors most of my own feelings on the subject. Unlike a programming language that requires knowledge of loops, variables, and other concepts, CSS is pretty easy… Continue Reading +
Posts Tagged: scss
CSS Tip – Selecting the last (odd numbered) item in a list of varying length
I’ve always found list items ‹li› pretty easy to work with, but recently I had an issue where I needed to target the last item in the list, but only if it was an odd number. Pretty easy if the number of list items is fixed, but more of a challenge if the number can… Continue Reading +
Vertical dividers on horizontal List
I’ve lost count of the amount of times I’ve had to create a horizontal navigation menu with vertical dividers between the list items. The ones where the end result should look something like this: Item 1 | Item 2 | Item 3 | Item 4 | Item 5 I’ve tried many different ways of achieving… Continue Reading +
Solving an issue involving Grunt and the Sass cache
I’ve recently been trying out Grunt instead of the tried and trusted CodeKit as there’s a few things I really like about it, one of which is how customisable it is. I set Grunt us to watch my Sass/Scss files and compile whenever I saved them. Sadly, one issue I was struggling with was a… Continue Reading +
How to Update SASS (SCSS)
A few months ago, I stopped using LESS as my CSS preprocessor of choice and started using SASS (SCSS) instead. I’d initially been put off using SCSS as it required using the Terminal. Now if you’re a developer I realise that might seem trivial, but to me it felt like being asked to be able… Continue Reading +
Make Font Sizing with REM easy with SCSS or LESS
Before you start worrying, this isn’t going to be a huge blog post about the best methods for sizing text for the web….there’s already plenty of those around! I also realise that there’s been plenty of debate around which font unit is best, but in all honesty I don’t care about that. I’ve tried using… Continue Reading +