Max Glenister

Max Glenister

2022

May

I suppose as a Jekyll/Github Pages user I've grown used to the levels of redundancy afforded by using the platform, and it's pretty neat for my development process to be so transparent (if anybody is bothered to look!)

If you're using Github and have a good number of followers, you also get a bit of syndication for free in the form of your commits showing up on your followers' timelines.

The only downside I've found is that I tend to have multiple drafts, on multiple clones of my blog repository across multiple machines, and I tend to lose stuff if I don't finish writing and publish in a timely manner!

Triple Entry Blogging ...and some thoughts on servers in the modern age tomcritchlow.com

It's 2022 and :only-child isn't aware of text nodes?

I'm trying to select an image that is the only direct descender of an element, with no text node siblings, e.g.:

<div><img /></div>

Not

<div>Hello<img />World</div>

div img:only-child will select this img in both cases, as will div img:first-child and div img:last-child

Am I missing something?