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

Home Forums Other Css to Sass: Refactoring existing code.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #200304
    Salmen Bejaoui

    I have more than 3500 lines of css and i want to refactor it using BEM and Sass.

    From where do i start? There is some techniques can help me doing this work ?



    @salmen, identify things that repeat and start isolating them as components. Work inside out. I would also consider rewrite, not sure how realistic that is for you, but if you’re using something like WordPress or any other CMS that allows for templating, just create new templates and slowly go template by template replacing existing design.

    Some resources:

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