Add back `` (#24651)

Added a few `` for an easier read of the article.
pull/29010/head^2
Jessica Swift 2018-12-08 07:12:15 -06:00 committed by Aditya
parent 5a5cc8f696
commit 26e8e593c1
1 changed files with 4 additions and 4 deletions

View File

@ -5,13 +5,13 @@ title: Hover Selector
The CSS `:hover` selector is one of many pseudo-classes that are used to style elements.
The :hover selector is used to select elements when you mouse over them.
The `:hover` selector is used to select elements when you mouse over them.
The :hover selector can be used on all elements, not only on links.
The `:hover` selector can be used on all elements, not only on links.
Use the :link selector to style links to unvisited pages, the :visited selector to style links to visited pages, and the :active selector to style the active link.
Use the `:link` selector to style links to unvisited pages, the `:visited` selector to style links to visited pages, and the `:active` selector to style the active link.
Note: :hover MUST come after :link and :visited (if they are present) in the CSS definition, in order to be effective!
Note: `:hover` MUST come after `:link` and `:visited` (if they are present) in the CSS definition, in order to be effective!
CSS Syntax
:hover {