html - set font-weight as normal after visit for h2 -
this question has reply here:
why doesn't a:visited css style work? 6 answersi have css next , have effect works after visiting, bold word appears normal weight. a:visited font color works doesn't work font-weight. , tried p-tag doesn't work, either. need tag work h-tag though.
a:link h2{ color: #ff0000; text-decoration:none; font-weight:bold; } a:visited h2{ color: #00ff00; font-weight:normal; } a:hover h2{ color: #ff00ff; text-decoration:underline; } a:active h2{ color: #0000ff; }
is there can help this? thanks. trying in plunker here now
as mentioned here:
http://stackoverflow.com/a/8331950/3739658
this security feature. functionality of :visited
pseudoclass has been restricted in many modern browsers (ff, ie9+, chrome) prevent css exploit.
there's no workaround issue. can create links longer, maybe different fonts create them appear bolder other that, reply no.
html css
No comments:
Post a Comment