- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I work on a lot of sites that were developed or touched by other developers. They don’t use SASS, and I’m just getting started with it. What’s the best way to approach this without needing to create a second CSS file? Is it possible to edit the same CSS file from a previous developer using SASS?
Yep…remember your SASS file will compile to CSS anyway.
Just load the original CSS at the top (I would suggest) and then SASS away below.
So I won’t be able to use/reuse any of the existing css? Bummer
Just load the original CSS at the top
I suggested this so that any new css would override the existing rules.
Otherwise you might have cascade issues.
Obviously, you would go through the existing CSS to see what could be SASSed though.
I’ve had the !important crisis as well, I feel your pain @alen.
So there is no way to automate the review of the original CSS to identify variables, at the very least? (Trying to streamline my workflow a bit)