The five best design links, every weekday

Domain: kilianvalkhof.com

kilianvalkhof.com

The gotchas of CSS Nesting

I’ve written before about the problems you can run into with CSS nesting.

kilianvalkhof.com

When going somewhere does a thing: on links and buttons

At the Fronteers conference, Manuel during his presentation did an exercise on building HTML that seemed fairly straightforward.

kilianvalkhof.com

On better browsers: arbitrary media queries and browser UIs

Imagine a future where sites can register support for media features through a browser API, and the browser would offer these options in the UI.

kilianvalkhof.com

Do you know about overflow: clip?

You probably know overflow: hidden, overflow: scroll and overflow: auto, but do you know overflow: clip?

kilianvalkhof.com

Are you sure that’s a number input?

We’ve had inputs with the number type broadly available in browsers for about 8 years now.

kilianvalkhof.com

Your CSS reset needs text-size-adjust (probably)

I don’t get to work on a lot of new sites nowadays, but I recently got the opportunity to set one up from scratch.

kilianvalkhof.com

CSS Nesting, specificity and you

Native CSS nesting is coming to browsers soon.

kilianvalkhof.com

You want overflow: auto, not overflow: scroll

Mac hides scroll bars so developers using overflow: scroll instead of auto don't know their design has ugly scrollbars. This bookmarklet fixes that.

kilianvalkhof.com

Full bleed layout using simple CSS

Using the Principle of Least Power, we can achieve a full-bleed layout using simple CSS without the need for complex layout systems.

kilianvalkhof.com

Supercharging <input type=number>

How to supercharge your <input type=number> so users can increment or decrement by 1, 10, 100 or 0.1 by pressing modifier keys.

kilianvalkhof.com

For many, accessibility is an unknown unknown

An unknown unknown is something you don't know you don't know. When you're just starting out with web development there are many unknown unknowns.

kilianvalkhof.com

Your dark mode toggle is broken

With more and more sites gaining support for dark mode and adding very pretty toggles to their design, it's important to implement them correctly.

kilianvalkhof.com

How I built my own browser

Building your own browser sounds like a terrible idea, especially if you're a front-end developer by trade.

kilianvalkhof.com

Using easing for more than just CSS transitions

We can define easing curves for the transitions and animations on our websites to give them a more natural and subtle feel.

kilianvalkhof.com

The box model is not layout

One term that keeps coming up in the design community as a stand-in for layout is "box model".

kilianvalkhof.com

What design tools get wrong

Modern design tools are amazing pieces of software but none of them seem to really understand the context that we currently design for.