Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set css hyperlink font mouse over color change effect

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article Xiaobian introduces in detail for you "css how to set the hyperlink font mouse hover color change effect", the content is detailed, the steps are clear, the details are handled properly, I hope this "css how to set the hyperlink font mouse hover color change effect" article can help you solve doubts, following the editor's ideas slowly in depth, together to learn new knowledge.

Css setting hyperlink mouse hover font when the font changes color, css configuration mouse hover color change mechanism.

Mouse over font on the pen and ink discoloration, generally for hyperlink anchor text font tone rotation, using a pseudo class: hover. Expand to understand the "hyperlink a tag"!

A {color:#00F} a:hover {color:#F00}

Section: the default hyperlink font color is blue "color:#00F", and the font color is blood "color:#F00" when hovering over the mouse. It can be seen that if you want to rotate the mouse hover color, set a:hover

1. Div css instance code

Mouse hover tone rotation instance css5.com.cna {color:#00F} / * default hyperlink font color is blue * / a:hover {color:#F00} / * default hyperlink font color is red * / .zhiding a {color:#090} .zhiding a:hover {color:#F0F}

Welcome to break away from CSS5 to further study CSS technology!

Specify object hyperlink font hover hue change!

Description:

1) set the default device to allow the web hyperlink font to be blue and red when hovering over the mouse (a {color:#00F} a:hover {color:#F00})

2) at the same time, the font of the hyperlink in the specified object is set to green by default, and the font hue is pink when hovering over the mouse.

2. Screenshot

Read this, the "css how to set the hyperlink font mouse over color change effect" 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 about the article, welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report