-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
The big picture of what I'm trying to do
I'm trying to add visited styles to a link. In some cases (e.g., a long list of links or links embedded into body copy) this can be a useful affordance for users. It doesn't seem like this is possible currently, however.
What I did
styleSheet : Style.Stylesheet Styles variation
styleSheet =
Style.stylesheet
[ Style.style Link
[ Style.Color.text blue
, Style.pseudo "visited" [ Style.Color.text purple ]
]
]What I Expected To Happen
I expected visited links to change text color.
What Actually Happened
The link styles were assigned to an element internal to the <a> so the visited styling did not take effect.
Versions
- Elm: 0.18
- style-elements: 4.3.0
Metadata
Metadata
Assignees
Labels
No labels