Duane Blake

Front end developer

Truncating lines of text in CSS using line clamp

Line Clamp is one of those tools which I wish had existed when I first started to code similar to Border-radius and Box shadow.  In a nutshell what Line clamp allows you to do is restrict the number of lines to display based on property value in css.

Using Clamp in Css

Thoughts on The Legend of Zelda: Breath of the Wild

I’ve finally got round to picking up a Nintendo switch. One of the games which was high on my list was Zelda: Breath of the Wild. I’ve played a couple of Zelda games in the past Link to the past, Wind Waker and Majora’s Mask. Here are more thoughts on the game on the recent game.

Link holding an arrow

Using CSS Variables with TailwindCss

I’m a big fan of TailwindCss, I tend to use it for all of my new projects which I’m building. However in some instances I find myself reaching to write custom styles and I’m unable to use the Tailwind apply directive. In situations like this it’s good to be able to use CSS Variables.

Using CSS Variables with TailwindCss