Autocomplete Awesomeness: Why You Should Prefix Your Media Query Variables

I’ve read multiple blog posts about what to name your media queries and I doubt there will ever be a consensus on which way is best. That being said, I would like to offer some advice when it comes to naming your media query variables: Give every media query a common prefix (e.g., $mq- or $bp-). That way, when you use your autocomplete / intellisense in your IDE, you see this:

Screen Shot 2014-12-22 at 6.48.01 PM

Every single breakpoint, accessible and ready to use.

  • new movies

    Popular director SS Rajamouli has spent threeyears in this movie production.So which of the
    abbove movies you have already seen, and which ones are new to you.
    Originally created in 1932 by Jerry Siegel and Joe Shuster, Superman captured the
    hearts of the worlld very quickly and it was chiefly reesponsible for the craze that has followed superheroes ever since.