romainmenke
banner
romainmenke.bsky.social
romainmenke
@romainmenke.bsky.social
Gender is a spectrum.

Fixes things, mostly with code.

https://www.romainmenke.com/
They "solved" this on apple.com by setting height to 100% on the body and the html element when the dialog is open.

This implies a jump to the top of the page each time you open and close the menu.
September 16, 2025 at 2:57 PM
iOS Safari completely broke "overflow: hidden" on the body. This is often used to prevent scrolling the body when a modal dialog is open.
September 16, 2025 at 2:56 PM
The CSS color specification was recently expanded to allow any number of colors in the color-mix function.

You can play around with it here: preset-env.cssdb.org/blog/css-col...

Or as a PostCSS plugin: github.com/csstools/pos...

Browsers still need to implement this ⌛
May 27, 2025 at 1:05 PM
I wonder which capabilities this unlocked for them.
I also wonder how this made it through code review, QA, ...
April 26, 2025 at 6:39 PM
I don't really understand why GitHub decided to pivot away from a server side rendered stack.
April 26, 2025 at 6:39 PM
It is indeed only a partial view. But given the complete lack of transparency or concrete feedback on proposals it is the only view available to outsiders.
February 13, 2025 at 6:51 PM
One of the most common mistakes I see frontend devs make is to set everything to `display: flex`.
Often this is done for centering content or to have easy gaps. Rarely this is because they really want all the attributes of that display mode.

GitHub recently has been plagued by the same:
January 23, 2025 at 9:24 AM
New #PostCSS plugin 🎉 github.com/csstools/pos...

It generates dynamic color values for users preferring more or less contrast :

codepen.io/romainmenke/...
April 2, 2024 at 12:06 PM
There is something here about CSS...
March 2, 2024 at 5:40 PM
Something new for #css #postcss github.com/csstools/pos...

At first I didn't really see it but the light-dark function is so much more than a convenience method for the media query 🎉
February 19, 2024 at 6:15 PM
Playing with ways to calculate contrasting colors.
This takes either white or black depending on the max contrast to the input and mixes that with the input in oklch.

It balances high contrast and preserving some of the original mood.

www.romainmenke.com/contrast-col...
January 1, 2024 at 10:47 PM
Only waiting on an update from WebKit for this aspect of CSS colors : codepen.io/romainmenke/... All other nightly browsers have implemented the updates.
December 21, 2023 at 6:57 PM
This is normal ...
December 21, 2023 at 6:53 PM
Why we won't have pumpkins this year...
September 2, 2023 at 9:48 PM
Obviously a person can not just have one bicycle and all the trips to the bicycle repair man in their bicycle repair shop got me plenty of time to look at options...

I justified it by making it seem like a responsible purchase. It has lights and such!
August 17, 2023 at 5:45 PM
So then I kinda had to finish a second bicycle I had been tinkering at for years.

I never really finished it because I don't know anything about bicycles, bicycle parts, how to repair them correctly,...

I only know which direction to turn to tighten or loosen screws.
August 17, 2023 at 5:37 PM
Some weeks ago my bicycle got stolen.

With the pandemic I stopped taking trains, so I wasn't aware that the bicycle parking at central station in Antwerp was split into a protected zone that requires payment and a "feel free to steal this" zone. 😅
August 17, 2023 at 5:25 PM
New Stylelint plugin to warn on suspicious attributes in CSS selectors :

https://github.com/mrhenry/stylelint-mrhenry/tree/main/packages/attribute-selector-no-unknown#readme
July 10, 2023 at 4:52 PM
July 6, 2023 at 1:52 PM