Skip to content

Prima​Materia's

Tag: #webdev

CSS Subgrids

Here are a few examples of CSS subgrid usage that I find very useful: subgrid with a custom gap, and auto-fitted and auto-filled subgrids set in minmaxed columns and automatically wrapping the rows.

Playwright on NixOS for webdev

In this post, I will explain how to run Playwright tests on NixOS. Playwright is a framework for running automated tests on web pages in real browsers. However, the recommended method of installing browsers doesn't work on NixOS due to its unique nature. This post will demonstrate how to set up a flake for a Vite project to run the Playwright version of your choice.