NNicinblog.nicm42.me.uk·Apr 12 · 2 min readTrying AI autocompleteI've used autocomplete before in coding - after all, why type more than you need to? But recently I downloaded Cursor and tried out the AI autocomplete, which can add many lines at a time. And did I f00
NNicinblog.nicm42.me.uk·Mar 2 · 2 min readMoving elements with JavaScriptRecently I had a situation where there were two elements, A and B, each of which contained a whole load of things. On mobile A was at the top and B was below it. But on desktop B was on the left and A00
NNicinblog.nicm42.me.uk·Nov 22, 2025 · 2 min readTransitioning 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...00
NNicinblog.nicm42.me.uk·Sep 14, 2025 · 2 min readStyling 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 <...00
NNicinblog.nicm42.me.uk·Aug 31, 2025 · 1 min readThe 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...00