Home > Web Front-end > CSS Tutorial > Simple method of DIV+CSS webpage TIP_CSS/HTML

Simple method of DIV+CSS webpage TIP_CSS/HTML

WBOY
Release: 2016-05-16 12:10:47
Original
1710 people have browsed it

The basic principle is to use display; when display: block; it is displayed; when display: none; it is not displayed;
For example:

Copy code The code is as follows:

#infobox span{ display: none; }
#infobox a:hover span{display: block;position:absolute;}


[Ctrl+A to select all Note: If you need to introduce external Js, you need to refresh it to execute ]
Related labels:
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