Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* A *VERY* quick-and-dirty debug stylesheet. This is for testing/development, it displays class and ID boundaries and entity names on the page. */
- [class] {
- outline: solid 1px blue;
- position: relative;
- }
- [class]::before {
- font-size: 12px;
- color:white;
- background: blue;
- opacity: 0.5;
- line-height: 1.2;
- padding: 2px;
- margin-left: 4px;
- font-family: courier;
- content: attr(class);
- position: absolute;
- right: 0;
- top: 0;
- }
- [id] {
- outline: solid 1px green;
- position: relative;
- }
- [id]::before {
- font-size: 12px;
- color: white;
- background: green;
- opacity: 0.5;
- padding: 2px;
- margin-left: 4px;
- font-family: courier;
- content: attr(id);
- position: absolute;
- right: 0;
- top: 0;;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement