CSS has a pseudo-class, :focus-visible, that matches when an element is focused using keyboard navigation. It also has :focus-within, which matches when the current focused element is the selected element or one of its descendents. However, this applies not only for keyboard navigation but also mouse and tap focus. A pseudo-class that combines the two, :focus-visible-within, would be useful, but does not currently exist. Here’s an article about it: larsmagnus.co/…/focus-visible-within-the-missing-…
The code in the meme implements the logic of :focus-visible-within using the new :has() functional pseudo-class, and has a snippet of fallback behavior for slightly older browsers
It requires energy to shrink an orbit just as it does to grow it. Since we’re launching from Earth, we start with Earth’s orbit around the sun, and we have to burn enough to bring the perihelion of our launched child’s solar orbit to within the sun itself. We could use Venus or Mercury for gravity assists but the angular speed of the orbit does have to be mostly cancelled to hit the sun
Although the spectacle of influencers flaunting their affluence has long been a staple of social media, there are signs that audiences are growing tired of it. Experts say “influencer fatigue” is wearing on young people who crave authenticity as inflation rises and achieving a stable livelihood becomes increasingly...
Former Kentucky swimmer Riley Gaines was among more than a dozen college athletes who filed a lawsuit against the NCAA on Thursday, accusing it of violating their Title IX rights by allowing transgender woman Lia Thomas to compete at the national championships in 2022....
This study compares two websites with similar design: the commercial Spotlight template from developers of Tailwind vs the same site with semantic CSS.
Similarities between wage labor and slavery were noted as early as Cicero in Ancient Rome, such as in De Officiis. With the advent of the Industrial Revolution, thinkers such as Pierre-Joseph Proudhon and Karl Marx elaborated the comparison between wage labor and slavery, and engaged in critique of work while Luddites emphasized the dehumanization brought about by machines. The introduction of wage labor in 18th-century Britain was met with resistance, giving rise to the principles of syndicalism and anarchism.
W3C pls give us :focus-visible-within (lemmy.blahaj.zone)
degree in bamf (mander.xyz)
CSS (i.imgur.com)
easy to get into trouble for sure.
launch him anyway (mander.xyz)
'Influencer fatigue' is real and young people are getting tired of it (www.yahoo.com)
Although the spectacle of influencers flaunting their affluence has long been a staple of social media, there are signs that audiences are growing tired of it. Experts say “influencer fatigue” is wearing on young people who crave authenticity as inflation rises and achieving a stable livelihood becomes increasingly...
College swimmers, volleyball players sue NCAA over transgender policies (apnews.com)
Former Kentucky swimmer Riley Gaines was among more than a dozen college athletes who filed a lawsuit against the NCAA on Thursday, accusing it of violating their Title IX rights by allowing transgender woman Lia Thomas to compete at the national championships in 2022....
As someone not in tech, I have no idea how to refer to my tech friends' jobs (lemmy.world)
They lied to us (sh.itjust.works)
I do not condone violence against political opponents (lemmy.world)
Tailwind vs. normal CSS - performance and size (nuejs.org)
This study compares two websites with similar design: the commercial Spotlight template from developers of Tailwind vs the same site with semantic CSS.
'The factory must grow': Hundreds of Factorio players built a record-breaking 'God Factory' to produce an inconceivable 1 million science per minute (www.pcgamer.com)
Ohh shit.... (lemmy.world)
"Labour Market" (lemmy.ml)
Something something Biden bad (lemmy.world)
Please start your comments with the following question answered at the top:...
Let's see them Lemmy. (lemmy.world)
Enlightened Centrism (lemmy.world)