Forums

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

Home Forums CSS modularized CSS and media queries

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #246393
    ztgst
    Participant

    Hello, I have a question, how you improve your media queries in your css code, I trying to apply Atomic Design and BEM on my own css framework. I put the styles for tablets in other file.

    Because I trying to keep the css file in smallest weight that is posible and validate for media attribute ( media=”()” ).

    Someone have an a better way or idea? Because I can put the media querie inside to each module like.

    example is button.styl

    .btn
    
    @media all and (min-widht : 768px)
     .btn
    
Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.