Home > Web Front-end > HTML Tutorial > css :target_html/css_WEB-ITnose

css :target_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:56:15
Original
826 people have browsed it

Spent half an hour looking for the problem of how to complete: target

Requirement: When you click Main, it will be triggered :target effect

The result was not found on the Internet because I didn’t know what keywords I was looking for, but I finally remembered it. . .

Main

It’s that simple! Simple things are easy to forget~

Principle: When you click a, the url will have the path of #Main. This is the id "Main" in the html and will be triggered once. Please remember it~

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