You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.StylesheetStylesvariationstyleSheet =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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: