How to set the mouse click font in css3 will change.
In this article Xiaobian detailed introduction of "css3 how to set the mouse across the font will change", the content is detailed, the steps are clear, the details are handled properly, I hope this "css3 how to set the mouse across the font will change" article can help you solve doubts, the following with the editor's ideas slowly in-depth, together to learn new knowledge.
In css3, you can use the ": hover" selector and the "font-style" property to set the mouse-over font change, ": hover" to set the element's obsolete style in the mouse, "font-style" property to set the font style, and syntax "p:hover {font-style: font style}".
The operating environment of this tutorial: windows10 system, CSS3&&HTML5 version, Dell G3 computer.
Css3 how to set the mouse over the font will change
Use: hover selector and font-style property.
A special style that hover adds when you mouse over a link
Tip: the hover selector is available for all elements, not just links.
The font-style property specifies the font style of the text.
The possible values for this property are as follows:
Normal default value. The browser displays a standard font style.
The italic browser displays a font style in italics.
The oblique browser displays a slanted font style.
Inherit states that font styles should be inherited from the parent element.
Examples are as follows:
123 p:hover {font-style:oblique;}
Cross over and change the font
Note: when the mouse moves over the connection: the hover selector style links to the hyperlink.
Output result:
Read here, the "css3 how to set the mouse over the font will change" article has been introduced, want to master the knowledge of this article also need to practice and use in order to understand, if you want to know more related articles, welcome to follow the industry information channel.