i wasnt able to use it for a thing i am working on but apparently there's a :target selector in css that matches every element with an id matching the fragment in the url 🤯
i wasnt able to use it for a thing i am working on but apparently there's a :target selector in css that matches every element with an id matching the fragment in the url 🤯 2 comments
|
im trying to make a zero js version of https://notarabic.com/ as i move it over to my dokku instance and with a single html file and css alone i can basically paginate the posts. problem is there isnt a selector for "when there's no fragment" so i cant render all the posts by default which is what i want.