Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
I think I spend about 20% of my time on caniuse.com, followed by the inevitable “so how the hell do I have a fallback while still future-proofing” Google session 🤣
Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
However it would need “reversing” so that you start with that and then reset everything if it Does have @supports For it, and then use aspect ratio instead if you wanted to support ancient browsers!
I am an Android user, good to know! Web dev life isn't easy 😅🤣
I think I spend about 20% of my time on caniuse.com, followed by the inevitable “so how the hell do I have a fallback while still future-proofing” Google session 🤣
Did you find a "fallback" so you can still use aspect-ratio?
Something like that using the padding hack?
However it would need “reversing” so that you start with that and then reset everything if it Does have
@supportsFor it, and then use aspect ratio instead if you wanted to support ancient browsers!Hmm yep!
For now I refactored it to just contain the height, as it's a known thing 💖