Learn Steps

Best practices and mistakes while using Bootstrap and CSS.

When it comes to the front end design framework which is easy to use and is responsive for all screen. The first thing that came to our mind in bootstrap. If you don’t know bootstrap try learning it here with bootstrap . In this post we will talk about mistakes and best practices of bootstrap and css.

iPhone < 5:
@media screen and (device-aspect-ratio: 2/3) {}

iPhone 5:
@media screen and (device-aspect-ratio: 40/71) {}

iPhone 6:
@media screen and (device-aspect-ratio: 375/667) {}

iPhone 6 Plus:
@media screen and (device-aspect-ratio: 16/9) {}

iPad:
@media screen and (device-aspect-ratio: 3/4) {}

 

These are few simple things you can use or avoid to get best out of bootstrap. This is just a simple things that I figured out during my last project.

Also if you are not using less try using it. It is awesome.