Latest posts
See all posts- Nesting Rounded Corners in CSSConsistency in rounded corners is something I came upon every now and again. It would really bother me until I found this very neat trick to solve it.
- Intercepting a Fetch RequestA stumbled upon a nice script that helped a lot of people to book a train in Sweden, and got interested in how it works. This is just a quick summary of that.
- Convert a SVG file to PNG and serve it in ExpressI tend to use SVG:s a lot, however, sometimes I feel like it simpler to render them as PNG:s for some special workflows. This a neat trick to do that in your own API.
- A Simple Hook for React ContextIt is often quite nice to use Context in React, I tend to use this hook to simplify it.
- My Custom Svelte Boop ComponentCreating a Boop component might be a bit tricky with the spring effect. This is my component I tend to re-use whenever I want to use it in a project.
- Create A Resposive Grid with CSS FlexboxEven though CSS Grid is more or less designed to create grids with, flexbox can actually be used to create some responsible grids without much effort.