smolcss icon indicating copy to clipboard operation
smolcss copied to clipboard

Change target selector to get correct ::before

Open Thenakedgun opened this issue 2 years ago • 0 comments

When I trialed this example, I didn't see the text "Is it me you're looking for?" as the example would suggest, but instead "Aww, you came to see me!" This second string seems to come from the normal "style.css" file & didn't have anything to do with the example. I think to make this work, you'd need to change .smol-article-anchor:target::before to #smol-article-anchor-title:target::before.

I don't use GitHub much, so please forgive me if the way I've suggested this is abnormal; just tried to suggest the change via their UI. I got a link to your site from Kevin Powell's newsletter.

Thenakedgun avatar Jan 05 '22 09:01 Thenakedgun