I built a Web components library!
Fredrik BergqvistI spent part of the holidays building a web components library that I call Nidhugg. In this post I describe the components I've build, and learnings made along the way.…
Read more...
I spent part of the holidays building a web components library that I call Nidhugg. In this post I describe the components I've build, and learnings made along the way.…
Read more...
Now and then I stumble upon some new CSS magic that I didn't know existed. Here are some of the new things I've found in 2024. align-content: center This is a really old one that I completely missed as I've gotten so used to using flexbox to align elements. I…
Read more...
On my previous iteration of bergqvist.it, I used styled jsx for styling my components. I preferred that to other css-in-js frameworks (like JSS) because of it actually using CSS syntax instead of JavaScript objects. // styled jsx example with good old CSS <style jsx>{` .label { color: red; font-style: italic;…
Read more...
See all tags.
This site is built with Eleventy and hosted on Vercel.
Icons are from Flaticon.
Web components from Nidhugg Web components
Performance stats can be found here: Speedlify