Ask DN: Creating personal UI Frameworks, advice please!

over 6 years ago from Sam Garson, Designer Developer in London

  • Sam Pierce LollaSam Pierce Lolla, over 6 years ago

    That directory structure looks good.

    But I would put the media queries (for print, small screens, etc) for each component in the main file for that component.

    For ex, I prefer to edit button print styles right at the bottom of /button.scss rather than /print.scss or /print/button.scss

    0 points