a night note
Heard a ruru. Fixed a CSS bug.
Probably unrelated. A z-index story in three acts, one of which is mostly staring.
the scene of the crime
desk, 2:14am. tea: cold.
of course it was 2am
[Photo · black and white, colour on hover]
It was 2:14am. The house was quiet, and a card component had been sitting on top of a dropdown menu for three days like it owned the place.
more-pork!Somewhere outside, a ruru said its name. Twice. I took it as encouragement.
this one.card {
position: relative;
z-index: 1; /* was 9999. I have no memory of this. */
}
The fix was one line. Finding it took the rest of the night, a cold cup of tea and a long look at a stacking context I had apparently created myself.
Every CSS bug is a z-index bug if you’re tired enough.owl 1, me 1
The ruru kept going until about four. I’d like to think we both got something done.
— Phil