How to write Mobile-first CSS
Sorry for being quiet for the last three weeks. Everything was so hectic that I didn’t even have the time to write anything! One of the big things that happened during this time was that I moved into a new apartment!
New house! Yay! :)
Things have stabilized a lot now, and I’m gonna go back to writing more stuff for you! Let’s get on to what I have in store you this week :)
This week’s article is short but important. We are going to talk about how to write mobile-first CSS codes, and why writing this way would help you simplify your code.
It goes further than MIN-WIDTH MEDIA QUERIES FTW. You’ll see media queries from a new light and you’ll understand how to use different media queries techniques together to make your responsive code much simpler.
Side note: This is one thing you absolutely need to know if you want to use Susy well. Your Susy mastery depends on the knowledge of this. Bwahahahahaha… :)
Read on to find out more about how to do it, and why coding this way helps you out.
Enjoy!
http://www.zell-weekeat.com/how-to-write-mobile-first-css/
As always, let me know your thoughts and feelings about this article in the comments. I’d love to answer your questions and hear what you think! :)
Stay awesome,
Zell