Topics /

Design & UX

The most popular blog posts about design & ux on Hacker News. 1,666 posts.

Any year
1201

The Rules of Margin Collapse

“Margin collapse” has a dastardly reputation, one of the trickier parts of CSS. Fortunately, it gets a lot easier once you learn a few rules! In this tutorial, we take a deep dive into the governing principles, and learn how to use them to our advantage.

1211

Close Tab Behaviour in Google Chrome

Tabs, tabs, tabs. The specialist subject of UI experts everywhere. Should tabs just rearrange horizontally or also detach? How much vertical scroll buffer should a tab have before it detaches? Under what circumstances should it detach? What about reattaching?

1214

How Bad Is Your Colormap? (2014)

What this function does is to give you a lumninance-correct grayscale version of any matplotlib colormap. I've found this useful for quickly checking how my plots might appear if printed in black and white, but I think it's probably even more useful for stoking the flame of the internet's general rant against jet .

1224

Wysiwtfftwomg

I get the content in Word, copy into the various boxes in the CMS and then see how it looks. Normally I spot a few typos, or it doesn’t appear where I want it to, then I have to go back and find the article again – which isn’t so bad, it’s normally at the top. The real pain is when I have to add another link to that…

1225

Issues with color spaces and perceptual brightness

Unlike RGB, the CIELab color space And the more modern variants like CIECAM02 and Oklab. is designed to be perceptually uniform. This is a broad goal, which roughly means that we would like changes in the numbers to match same changes that we observe when performing various studies of human perce

1227

Why Frames Tilt Forward (2015)

There is a ten-foot long alcove in our lower-level hallway — we call it the gallery . This is the one place in our house I can hang whatever I want (i.e., my own art) and switch it out whenever I want. To facilitate this, I installed a hanging system — basically a slotted rail mounted near the ceiling, with sliding…