319 private links
Use cases for :has
:
.card:has(button:focus-visible)
.xy-pad:has(.handle:active), .xy-pad:has(.handle:focus-visible)
- We can use :has as a sort of global event listener:
html:has([data-disable-document-scroll="true"])
- JS-free darkmode:
body:has(#dark-mode-toggle:checked)
p:has(+ figure)
: with :has, we can style one element based on another element in a totally different container! See the cool code playground that highlights
:has
can be powerful to replace JS with HTML semantics.
Ce guide est destiné à informer et conseiller les syndics bénévoles ou futurs
syndics. L’Anah (Agence nationale de l'habitat), l’Anil (Agence nationale pour
l’information sur le logement) et la CLCV (Consommation, Logement et Cadre
de Vie) ont souhaité vous apporter les clefs de vos missions via ce guide.
Il sera régulièrement complété et mis à jour
This is a crash course in the Rust programming language. It's written with a specific audience in mind: software engineers who know how to program in a high-level language but aren't familiar with lower-level programming and want to learn to write Rust quickly.
An awesome guide about the newtypes pattern. Great writing btw!
[Following https://shaarli.lyokolux.space/shaare/pkpvPQ]
Ok ok another use case for container queries:
Notice that the horizontal style became too condensed, this is because we used a media query. When using a media query, the browser doesn’t care about what will happen to the components if the available space isn’t enough. [...] As you’ve seen using a media query to change the card style isn’t logical in this case. The number of cards can increase or decrease and that will affect the card’s content.
The Mozilla Documentation Network published a curriculum to become a frontend developer.
It seems to contain relevant resources, also for confirmed developers.
This cookbook is intended for new Rust programmers, so that they may quickly get an overview of the capabilities of the Rust crate ecosystem. It is also intended for experienced Rust programmers, who should find in the recipes an easy reminder of how to accomplish common tasks.
The last version of the WCAG released the 5th of October