-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.