Currently, I'm working with a list of links that are dynamically called using PHP. Whenever these links are clicked, the page refreshes to load the content of the link. However, my goal is to keep the link styled in the same way as when it's hovered over.
An example of how the link appears:
<a href="editfiles.php?file=pages/something.html">something.html</a>
The CSS styling for the link is as follows:
a:hover {
font-weight: 700;
color: #039AD2;
}
a {
color: #777;
font-weight: 500;
}
I'm currently unsure about the best approach to achieve this consistent styling between hover and normal states of the link.
Any assistance on this matter would be greatly appreciated!