In the last article, we learned about CSS Icons and now you can easily insert favorite icons in web pages using icons library like font awesome or google material icons. Now moving forward, today we are going to customise links on web pages using CSS. Let's begin... Styling Links depending on states Now, what the heck states are? Oh, don't worry! Links on web pages are categorized in following 4 states: link - Normal unvisited link visited - A link that user has already visited hover - When a user hovers the mouse over the link active - A moment of clicking the link Now you can customise each of this states using CSS. Let's see how... How to Access States If you want to access particular state of the particular element, the syntax is as follows: element : state{ color: red; } In our case we can access, let's say visited state of the link that is a tag using: a : visited{ color: blue; } Note: While setting styles for several li
The blog to help programmers to learn, experiment and understand new concepts.