Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS SASS from CSS – picking up previous developers work

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #205405
    webreality_ny
    Participant

    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?

    #205414
    Paulie_D
    Member

    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.

    #205416
    webreality_ny
    Participant

    So I won’t be able to use/reuse any of the existing css? Bummer

    #205422
    Paulie_D
    Member

    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.

    #205426
    webreality_ny
    Participant

    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)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.