maettig.com

Thiemos Archiv

I might have found the very first real-world application for the ~ CSS selector in my life. Or the last time I used it was so long ago that I totally forgot it exists. What does it do?
Funny, this is the first time I realized " " is a combinator as well, after > 20 years of using it!

~ can be useful to bend a flat document tree into a less linear rendering, but in most cases there are already class names or ids present which are better suited for the same result.
T§

Kommentare zu diesem Beitrag können per E-Mail an den Autor gesandt werden.

[ ← Zurück zur Übersicht ]

Impressum & Datenschutz