mdgriffith / elm-ui

What if you never had to write CSS again?
https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/
BSD 3-Clause "New" or "Revised" License
1.35k stars 110 forks source link

Attempting to add the `:visited` psuedo selector. #267

Closed erlandsona closed 3 years ago

erlandsona commented 3 years ago

Not sure if this doesn't work because the Flag numbering is broken or if I'm not creating the correct class hierarchy in the the Visit pattern match. I'm not really sure how the bitwise stuff is supposed to work so :man_shrugging:

erlandsona commented 3 years ago

Did a little more reading and seems like the :visited psuedo selector is both mostly useless and also enough of a security concern that apparently the only css property you're allowed to apply to it is color. Which ultimately is what I'm trying to do here but I'm thinking the feature I'm really trying to implement is just an active state maybe if even that?