Open zaydek-old opened 6 years ago
Pro-tip: do <html class="debug">
then the whole website debugged without a bookmark!
i'm into this. would be nice to point to fortune rather than write this debug class from scratch each time it's useful
@ZAYDEK do you want to open a pr?
In the recent article, I published: https://medium.freecodecamp.org/learn-this-one-weird-trick-to-debug-css-88529aa5a6a3 I talked about a global CSS debugger. Another method of using this, however, is scoped to an element and its children. E.g.
The difference here is that now whatever is classed as
.debug
so will it and its children expose the debugger, which could also be customized using CSS variables (such as color).