Front-End RoundupGathered from around the web

#css

196 recent posts tagged #css, newest first. Page 10 of 10.

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

A decent custom checkbox pattern for until ::checkmark is ready

Now that we can better customise <select> elements, it's only natural to side-eye other form <input> types that have caused us visual headaches. Sure, we should be applying the lightest of touches to form elements, especially, but even with…

Piccalilli — Andy Bell

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

Stop Treating CSS Container Queries Like Traditional Media Queries

To be completely honest with you, I missed the news when CSS Container Queries first shipped. And when I finally heard about it, my very first thought was, “Why exactly do I need this when media queries already exist?” I’m not proud of that…

Smashing Magazine

When CSS could run JavaScript

CSS Curiosities of the Past — A wonderful tour of the non-standard CSS quirks developers used to make browsers behave, especially Internet Explorer . Covers the 'star hack', CSS expressions (JavaScript in your CSS!), IE's DirectX filters…

Frontend Focus

5 years of blogging on utilitybend!

Start a blog! It’s great! You’ll learn more than you think! As I am traveling on my way to NDC Oslo, I started to write this post… tomorrow, my blog turns 5 years old. I recently posted two articles in a short amount of time, and for this…

Utilitybend

Clip Path Type, Pure CSS LED, and Halftone Patterns

This week's CodePen community highlights include an experiment in typography with clip-path: shape() from Matthew Morete, a magical CSS LED playboard from Ben Evans, and an excellent halftone pattern explorer from MackFitz. Plus, Brecht De…

CodePen Spark

Anchor Positioning, Animated Counters, and Fancy Filters

This week's CodePen community highlights include a quick demo of a powerful anchor positioning technique from Kevin Powell, a playful animated counter from Jon Kantner, and a beautiful sunset crafted from SVG filters by Taluska. MJML on…

CodePen Spark

Remixes, Reiterations, and Revisions

This week's CodePen community highlights include Pens that revise or remix earlier work. Grant Jenkins revises his 2D animated robo-cat in 3D, prisoner849 takes an ephemeral flower from 2022 in a new direction, and Ccrch changes textiles in…

CodePen Spark