Given that Twitter Bootstrap is designed to be responsive / device-friendly, why doesn’t it use relative font sizes?
Given that Twitter Bootstrap is designed to be responsive / device-friendly, why doesn’t it
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well it seems that they are hiding behind the browser zoom excuse. Really sad to see such a heavily used and influential framework completely ignore accessibility issues and a fundamental cornerstone of responsive design. They are in a position of great responsibility and unfortunately seem to have no intention of acting accordingly.
[Update] So today Mark Otto replied on the thread I referenced above. Predictably there is no mention of accessibility and use of the phrase ‘pixel-perfect’:
I would suggest anyone with strong feelings about this go and +1 this thread.
[Update] V3 roadmap oulined in V2.3 release blogpost makes no mention of adding support for ems.
[Update] Lots more information about Bootstrap V3 available in the pull request here including the following from Mark Otto:
Then more recently (in its comments):
Having grown dissatisfied with a large number of Bootstrap’s features, not least of which is it’s lack of em-support, I strongly suggest looking at Susy if you just want grids, or Zurb Foundation 4 for the whole enchilada. Don’t let Bootstrap’s popularity cloud your judgement. Anyone can build something with Bootstrap, which is exactly its problem –
it’s designed for people with minimal web-experience. Just because there are lots of McDonalds’ in the world doesn’t mean it’s a healthy place to eat.[Edit] OK. This was a silly thing to say. Since I wrote this, I’ve used BS3 and it has upped its game considerably. I shouldn’t have made such a throwaway comment, but I still believe that it has made a bad decision in using pixels for font-sizing. As well as accessibility issues, ems are useful in other ways.
[Update] Looks like rems will be supported in V4 (Mdo quoted from here):
[Update Feb ’17] Bootstrap 4 is still in Alpha, but shows use of rems in its Typography docs, but doesn’t show use of rems in its layout docs.