Implementing 9-slice scaling with the Canvas APIThe 9-slice scaling technique allows resizing an image to a different aspect ratio without any ugly distortions. This is achieved by slicing the original image into 9 rectangular parts and using those to construct the final resized image. Take a look...3 min read·blog.simonjaeger.chApr 22, 2022
A love letter to React function componentsThese days, we have an abundance of JavaScript frameworks to choose from. I've had my fair share of experience with a few of them, from Angular to Vue and even some Svelte and Alpine. But one Framework that stands out from the rest to me, is React. W...3 min read·blog.simonjaeger.chApr 16, 2022
Fun with CSS variables and TailwindVersion 3 of Tailwind includes a plethora of new and awesome features. One of them is the ability to use arbitrary values and properties in your utility classes – this even works with CSS variables! Here's the example we're going to build today: The...1 min read·blog.simonjaeger.chApr 14, 2022
Hello, world!Hey, hi and welcome to my blog. I've always wanted to start writing about my journey as a developer and now I've finally taken that step. After taking a look at a few different platforms for blogging, I've decided to use Hashnode. It's focused on dev...1 min read·blog.simonjaeger.ch1EApr 13, 2022