Giter VIP home page Giter VIP logo

breakfast's Introduction

#Breakfast

Breakfast is a mobile-first approach for fast and meaningful breakpoints. Breakpoints represent Breakfast sizes.

#The Install bower install breakfast Use bower to install a breakfast.scss file into your project. Use grunt or bowerrc file to install Breakfast in the desired location.

#The Idea:

If you must eat breakfast, try to eat a medium breakfast and if you can avoid the larger breakfast avoid it. A larger breakfast will be more expensive and will require a lot more maintenance.

#The Key Take-Aways

  • Again, aim for the medium breakfast and thats it. Rethink your design if you need a lot of continental and international breakfast.
  • Basically avoid the breakpoints that are harder to spell. Keep It Simple Got Damn It.
  • Simple meals make for happy breakpoints.

Install with bower, and have usable media queries in seconds.

#The Menu ##Small Has a maximum width of 470px. Meaning If you dare to call this media-query it will design viewports smaller than your standard phones. Because we are working in a mobile-first approach; you will actually never write a small breakpoint so don't worry about it.

##Small Only If you want some thing to only show on a phone use this media-query. But again we are working in a mobile-first nature so, please don't use this media-query unless you absolutely have to.

##Medium Get comfortable with writing @include breakfast(medium){color:red;}. This is the most commonly used breakpoint that you will approach in a mobile-first nature. Essentially you will find once viewports reach the tablet width it may require something that can progressively enhance the experience.

##Medium Only You may never use this unless, you want to design specifically for the tablet range.

##Large This is what most of your users on a desktop will be looking at. Try write well enough code to where you don't even have to write for this breakpoint. Realistically you will have many medium breakpoints, and consider the larger breakpoints when writing medium breakpoints. Use this breakpoint if you definitely want to progressively enhance the experience for desktop users.

##Large Only I think you understand the patterns by now.

##Continental Wow! This is a very high breakpoint, and you should never have to write for such a high breakpoint. This is progressive enhancement at its finest, progressive enhancement after this will be very expensive.

##Presidential If you are writing presidential breakpoints, you should rethink your entire design process at this point, and reevaluate the development project....

##International Apple 5K monitors may need a special type of design we haven't thought of yet. Consider this breakpoint if you want to design for televisions and super large monitors or spaceships.

breakfast's People

Contributors

andysolomon avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.