My workflow for CSS often includes that I tingle around in devtools, add/change CSS in the browser and when the values fit my needs I copy the CSS and paste it in my .scss-file.
Now since a while my copied CSS includes spaces
for formatting.
CSS in Chrome
div {
width: 100%;
background-color: yellow;
}
Copied Code in Editor
Now when I copy the properties (width
& background-color
) and paste it in my editor I copy it as follows:
..width: 100%;
..background-color: yellow;
(dots
indicate spaces)
Is there a way to copy the CSS without the spaces, like this:
width: 100%;
background-color: yellow;
Every time I paste the CSS it messes up my formatting, I therefor do a lot of unnecessary formatting. (like removing the spaces as I use tabs and not spaces)
I know the spaces were added some months ago, before you could just copy the CSS without spaces.