Monday 11 February 2019

html - How to apply css style for a span containing an active link

I currently have 2 links enclosed within 2 spans however when a link is clicked an dis active, the link has a class"linkActive". I need to apply a border for the span containing the active link how can one do this in css styles


     HTML


I would like to apply border to span containing the anchor tag with link active class


 i tried    span.sec a.linkActive{
border-bottom: 3px solid black;
}

It does not seem to work. Any help will be appreciated

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...