blog.nicm42.me.ukTransitioning display: noneI recently had cause to transition display: none. It’s not yet working in all browsers, but when I tried it I found the effect was so subtle that no one would notice the difference. In this example I had to change the transition time to 1 second in o...Nov 22, 2025·2 min read
blog.nicm42.me.ukStyling sibling hover and none hoverI recently had some complicated CSS to get my head around. I have a list of links which I want to style when they’re being hovered/focus on. But, if none of them are being hovered or focused, then I want to style the first one in the list. The HTML <...Sep 14, 2025·2 min read
blog.nicm42.me.ukThe scripting media queryI know there are a lot more media queries out there than the ones I usually use, but this week I used one I’d never come across before. The scripting media query checks whether JavaScript is enabled. It has three keywords, although only two of them a...Aug 31, 2025·1 min read
blog.nicm42.me.ukUsing ChatGPTThis week I had a couple of things I got stuck on and googling/Stack Overflow weren’t helping me much. I know that people have said that AI can help you with programming and I thought I’d see how much help it was getting me unstuck. Problem 1 I went ...May 23, 2025·2 min read
blog.nicm42.me.ukSelect keyboard controlsI was recently given a design that included a customised select. Since that’s currently only available in the most recent version of Chrome, I went looking for libraries and instructions on how to create your own select. And I came across a problem: ...Apr 18, 2025·2 min read