Home > Web Front-end > CSS Tutorial > A clever css debug code_CSS/HTML

A clever css debug code_CSS/HTML

WBOY
Release: 2016-05-16 12:12:04
Original
1655 people have browsed it

The idea is very simple, the code is very concise, the effect is good, and it is quite useful (IE naturally does not recognize this kind of advanced stuff).

Copy code The code is as follows:

* {outline: 2px dotted red}
* * { outline: 2px dotted green }
* * * { outline: 2px dotted orange }
* * * * { outline: 2px dotted blue }
* * * * * { outline: 1px solid red }
* * * * * * { outline: 1px solid green }
* * * * * * * { outline: 1px solid orange }
* * * * * * * { outline: 1px solid blue }


It’s easy to understand, using outlines of different colors and different line types to mark hierarchical relationships.
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