Skip to content

Commit

Permalink
Add toggle-css-classes.md til
Browse files Browse the repository at this point in the history
  • Loading branch information
bpugh committed Nov 4, 2023
1 parent 9eae829 commit 9e6851e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions devtools/toggle-css-classes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
date: 2023-10-13
---

# Toggle CSS classes in Devtools

Today I learned that the little `.cls` button in the Chrome devtools is a handy way to toggle classes on an element:

![toggle class screenshot](toggle-css-classes.png)

I imagine the trend of using utility classes was the main motivation for this feature (although apparently it's been there for a few years and I only just figured out what it was for).
Binary file added devtools/toggle-css-classes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9e6851e

Please sign in to comment.