Front-End RoundupGathered from around the web

Recent from Master.dev Blog

Page 3 of 3.

Dark Mode Very Much Matters To Me

The dark mode is an accessibility feature for me. I’m prone to splitting headaches from bright lights like the glaring screens of personal devices. Blue-light-filtering glasses and eye drops don’t work for me. Only dimness does. In the…

Master.dev Blog

Custom Glow Rings Inside of Elements

I had a situation where I wanted to highlight an arbitrary element on a page. Like, call attention to it briefly. There is a pretty obvious and straightforward way to do this. We could apply an inset style box-shadow to whatever, and that…

Master.dev Blog

Better Centering with CSS text-box

Jake has a very nice, clear video about what text-box solves in CSS. It essentially makes even padding on an element (like a button) doable without magic numbers, and that will work across any font (sick). Temani made a tool to help pick…

Master.dev Blog

Extracting Grid Information Using CSS

In a previous article, calculated a few values for a responsive grid such as the number of columns, the number of rows, and the coordinates of the grid items. Knowing that each item is automatically placed and spans only one row and one…

Master.dev Blog