Simple Html debug via CSS

Add the following css lines to your CSS theme, possibly at the end

div::before {
content:” C:” attr(class) “”
}

*::before,*::after {
color:red;
font-weight:100;
font-size:1.0em
}

and div classes will showup easily. Very handly while customizing WoooordPress :)
This page show a demo.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.