I’ve recently been working on an update/overhaul of both my various websites and the server backend. As part of this process I’ve been trying ot make sure everything is using the latest standards to maximise performance and compatability. One of the best features of recent versions of wordpress is the native support for responsive images — where the imgset=”” attribut eis used to supply alternative sizes of images in a group so the browser can use the most appropriate. In combination with async loading and lazy loading this can make pages load far faster whilst still looking good to all visitors. However css has not adopted these newer features so background images are much trickier to deal with. It can be done though…
… Read Full Article
Posts Tagged: css
0Show enlarged image on hover in wordpress
As part of the recent improvements I’ve been making to various websites I wanted to make images in galleries show enlarged versions when hovered over. Doing this with basic CSS is fairly trivial, but I didn’t just want to expand the original image, I wanted the browser to grab a new (larger) image too…
… Read Full Article
0Responsive background images for websites
I’ve recently been updating my websites and web server and adding a new site (LoveCrete.org). I wanted to have a background image on LoveCrete and realised that of course 1 size doesn’t fit all screens. Here is a summary of what my thinking was and what I did to cater for the numerous screen sizes and orientations.
… Read Full Article
0Few new articles, lots of new design work
For the last 2–3 months I’ve been too busy to write much new content for the site. This hasn’t been helped by a drop in things to write about — most of my articles are about technology fixes or exciting new HTPC related developments. There haven’t been too many new developments, and I haven’t fixed much technology because I’ve been too busy. That doesn’t mean the site has been entirely ignored however…
“Hi James I realise it has been a long while, but I just checked this on windows 11 (build 23H2)…”