As you make CSS changes in the DevTools inspector window this will track your changes and provide you with a nicely formatted diff
When you're working on a project turning a design that was done by someone else into HTML + CSS it can often be frustrating as you go back-and-forth with them trying to tweak things. Often times you'll end up getting marked up screenshots asking for things to be moved, changed, etc. Both the front-end engineer and the designer end up frustrated by all of this back-and-forth.
Once designers are introduced to the Chrome DevTools inspector where they can select elements and tweak CSS values till their heart's content the process can be massively improved because they can provide specific feedback on the values they want changed.
CSS Diff is an extension that eases this feedback cycle by allowing designers to simply send the engineer a common "diff" output of their changes so that those changes can be implemented. Typically you'll end up using something like less, scss, etc to manage your styles so you can just apply the diff directly to the sources, but groking the diff and manually making the updates is much better than trying to make updates based off of marked up screen shots.
This does not work on minified CSS because it is simply keeping a copy of the CSS from when the DevTools were opened and then showing live diff's against that. This typically isn't a problem as giving designers access to an development environment where the source code isn't minified should be trivial.
Latest reviews
- (2023-09-06) Chematronix Quarantamila: This one works, but gotta install it by hand: https://github.com/kdzwinel/CSS-Diff
- (2023-03-31) Stepan Matskevich: Doesn't work, just white screen
- (2023-03-02) Modern Chili: Does not work. Just shows white screen.
- (2022-05-13) Serge Dudnic: The author didn't explain how to use it. It wrote a lot of things, but o idea how concretly to select the first and the second element to compare them
- (2022-02-02) Tim Spilka: Works kinda but also selects classes i didn't change.
- (2021-08-20) Nate Byrnes: August 2021 - "CSS Diff" Does NOT work at all. No additional tab shows in dev tools, regardless of edits or adds. My Chrome Version 91.0.4472.164 (Official Build) (64-bit)
- (2021-01-07) Walter Araclio: Doesn't work for me!
- (2018-05-24) Uladzislau Yarotski: It is working only when I add new rule in styles column. If I try to change something in exist rule , on 'CSS diff' tab no changes.
Statistics
Installs
746
history
Category
Rating
1.9 (10 votes)
Last update / version
2016-04-20 / 1.0
Listing languages
en