DEV Community

Discussion on: My favorite CSS hack

Collapse
 
dink profile image
dink • Edited

Much quicker to do the following imo:

html * {
    background: rgba(255, 0, 0, .1);
    box-shadow: 0 0 0 1px red;
}
Enter fullscreen mode Exit fullscreen mode

It will produce something like this:

Debug

Collapse
 
tariq profile image
Tariqul Islam

Thanks man..