Someone asked me how to update your website's share image on the app formerly known as Twitter.
The answer, as far as I know: you don't. As far as I can tell it now fetches images once and never re-checks. The 'card validator' that used to force a refresh went away ages ago.
(Yes I know just don't use it blah blah but people get worked up about what image their website shows there.)
@tomwbackground: ...; is a shortcut for pretty much all the background related properties, and setting it implicitly sets all its included values.
So for example background: red; implicitly also sets background-size to its default value of auto. Since the declarations inside of a single rule are processed top -> bottom, that implicitly set background-size would overwrite a previously set explicit background size.
This goes for all shorthands as fas as I know; the following example would result in a currentColor colored border, not a red one:
@keithjgrant Yeah, I see. You'd think I'd run into this more often! I suppose I don't tend to use the shorthand properties tbh. But in this case I was setting a colour and an image so I used it.
The use of screenshots as a universal data interchange mechanism is one of those things that makes me ashamed on behalf of all software developers ever
"The Department for Work and Pensions is seeking new powers to require banks to trawl the accounts of millions of people who receive benefits... It is likely to use artificial intelligence to flag activity considered suspicious"
I used to wonder about the "missing generation" at (mostly left wing) meetings, conferences etc, where it felt like everyone in attendance was either under 30 or over 50.
Anyway, now I know the answer is "having kids". Duh. Could have figured that one out really.
Sub-genre: people who do not realise that their Mailchimp archives are public and include all the variants of emails they send to different list segments
"Ohohoho I think you mean upgrade! Not update! Ohoho even though this error message shows that I clearly understood the intent anyway! Use the right word fool!"
People say success is about hard work etc but I waited for (checks) about two months to solve a hard problem and an easier answer just fell into my lap
I always loved the "CSS Zen Garden" approach to #CSS – that is, keep your HTML the same and write a new stylesheet for an entirely new design. It doesn't always quite work out but it's what I always aim for.
I realised that part of my problem with Tailwind is that it is the polar opposite of that ideal. You can't zen-garden a Tailwind site at all. It is the maximum anti-zen approach.
A few times I've written an if/then with fetch used if it is supported and XHR as fallback but then realised that is basically pointless, since XHR still works