Dissemination of views, information and knowledge without any cost or ado was made possible after blogging dawned upon us. Lets take a look at some of the burning topics, general discussion, innovations and techniques from our Editor’s desk

  • Feb 19 2013

    Comparison of the CSS Frameworks: Twitter Bootstrap Vs. Foundation

    These days, amongst Web Designers and Developers-the word ‘Responsive’ has been gaining popularity like no other, as every other client wants a website that’s fast, intuitive and runs effortlessly on a wide variety of devices of varied screen sizes. And Responsive Web Design is the one and only solution to fulfill that urge. However, designing and developing a responsive website is not as easy as it may look in the beginning. But with the availability of CSS Frameworks like Twitter Bootstrap, responsive web development has become a quick and easy task.

    Considering the demand and popularity of CSS Frameworks, many developers have launched their own frameworks that catered to their needs and later released it for global usage. And today, we will compare and discuss the two most fascinating CSS frameworks, namely; Twitter Bootstrap and Foundation to make the selection process easy. We would help you understand what’s different between them, and what would suit your web development needs. As there might be a time when you may get to work on a certain project that suits the overall structure of the Twitter Bootstrap, rather than Foundation.

    The comparison between these two outstanding CSS Frameworks would cover the Grid, UI Elements, Typography and Syntax, followed by the Conclusion. So let’s start.

    The Grid

    Both, Foundation and Bootstrap utilizes 12 column grid. The Foundation grid is flexible and adapts to different screen sizes with media queries easily. Moreover, the Foundation grid doesn’t have a fixed width, which makes it a better option to use. Whereas, the default 12 column Bootstrap grid is 940px wide, but it isn’t responsive in nature, for which you need to add the responsive CSS file. Once it’s added, its grid adapts to the 724px and 1170px wide screen sizes.

    In terms of features, both the grid systems have got advanced features that are required to make responsive websites, which includes; offseting, source ordering, nesting, etc. However, while working on a certain project you would find that the syntax used in Foundation is clear-cut and easy to read, but the one used in Bootstrap is more concise.

    UI Elements

    Both these CSS Frameworks comprise of highly customizable but pre-styled UI Elements, which lets you mockup your project, be it of an app or a website. You can design and stylize the shape of your UI elements like Buttons, Navigation bar, Tabs and Forms in no time.

    The Typography

    The Typography used in Foundation is made using the modular scale and Sass to produce sizes that are based on the values in an upward scale of size and spacing. However, if you make use of the Scss variant of the Foundation, then it becomes a lot simpler to alter the stated values, or else the pre-set values based on regular UI element that has a base size of 14px along with 44px important value.

    But in Bootstrap the typographic scale is dependent on the two LESS variables, specifically, variables.less: @baseFontSize and @baseLineHeight. The latter one is the base line height, and the previous one is the base font-size used every time. Moreover, the margins, paddings, and line-heights of the typography is something that can be customized.


    Elaborating every UI element and comparing them individually won’t be a good idea as by now, you might have been able to understand all the differences. In both these frameworks, working with the UI elements won’t be a tough task, and in fact, you can execute their codes in the blink of an eye.


    However, if you compare both these frameworks with the availability of a number of interesting features in UI elements, undoubtedly Bootstrap stays far ahead and is the clear winner. Moreover, it is also a lot easier to work with as it is organized in a better manner, and has got documented almost everything it offers. Whereas, Foundation is simple, flexible and intuitive even after it misses out on many basic things.

    So, we would leave the judgment on you. And if you have anything to say about this comparison, drop us a line below.

    Posted by ajeet Posted in: CSS, Technology Comments: 0