Home > Web Front-end > CSS Tutorial > Pure CSS to change the text content by placing the mouse on it_CSS/HTML

Pure CSS to change the text content by placing the mouse on it_CSS/HTML

WBOY
Release: 2016-05-16 12:03:36
Original
3543 people have browsed it

css style

Copy code The code is as follows:

.remind span {display:block;margin-top :-22px;}
.remind a:hover {padding-top:22px;}
.remind a {float:left;overflow:hidden;}
.remind{height:22px;line-height :22px;overflow:hidden;padding-left:10px;}

html code

Copy code The code is as follows:

Specific examples


[Ctrl A Select all Note:If you need to introduce external Js, you need to refresh to execute]
Related labels:
css
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template