Forums

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
    Posts
  • #200304
    Salmen Bejaoui
    Participant

    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 ?

    thanks

    #200305
    Alen
    Participant

    @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.