Bootstrap also provides inbuilt CSS classes to design responsive (for mobiles, tablets) websites. With latest bootstrap it has mobile first approach and with choice we can make it non-responsive.
It has a very good documentation reading which we can easily understand the use and implementation of bootstrap.
Mobile first approach -Since Bootstrap 3, the framework consists of Mobile first styles throughout the entire library instead of in separate files.
Browser Support -It is supported by all popular browsers.
Easy to get started -With just the knowledge of HTML and CSS anyone can get started with Bootstrap. Also the Bootstrap official site has a good documentation.
Responsive design -Bootstrap's responsive CSS adjusts to Desktops,Tablets and Mobiles.
Scaffolding -Bootstrap provides a basic structure with Grid System, link styles, background. This is is covered in detail in the section Bootstrap Basic Structure
CSS -Bootstrap comes with feature of global CSS settings, fundamental HTML elements styled and enhanced with extensible classes, and an advanced grid system. This is covered in detail in the section Bootstrap with CSS.
Components -Bootstrap contains over a dozen reusable components built to provide iconography, dropdowns, navigation, alerts, popovers, and much more. This is covered in detail in the section Layout Components.
Customize -You can customize Bootstrap's components, LESS variables, and jQuery plugins to get your very own version.
Class loader is a part of JRE (Java Runtime Environment) which loads Java classes into Java virtual environment. Class loaders also does the process of converting a named class into its equivalent binary form.
In Bootstrap there are two types of Layout available
* Fluid Layout: Fluid layout is used when you want to create a app that is 100% wide and use up all the width of the screen
* Fixed Layout: For a standard screen you will use fixed layout (940 px) option
|.active||Applies the hover color to a particular row or cell|
|.success||Indicates a successful or positive action|
|.warning||Indicates a warning that might need attention|
|.danger||Indicates a dangerous or potentially negative action|
Bootstrap includes a responsive, mobile first fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases. It includes predefined classes for easy layout options, as well as powerful mixins for generating more semantic layouts.
<div class = "container"> <div class = "row"> <div class = "col-*-*"></div> <div class = "col-*-*"></div> </div> <div class = "row">...</div> </div> <div class = "container">....
Offsets are a useful feature for more specialized layouts. They can be used to push columns over for more spacing, for example. The .col-xs = * classes don't support offsets, but they are easily replicated by using an empty cell.
Column ordering is one of the feature available in bootstrap and you can easily write columns in an order and show them in another one.
the order of the column can be easily changed.
Bootstrap 3 allows to make the images responsive by adding a class .img-responsive to the <img> tag. This class applies max-width: 100%; and height: auto; to the image so that it scales nicely to the parent element.
Basic Global display -Sets background-color: #fff; on the <body> element.
Typography −Uses the @font-family-base, @font-size-base, and @line-height-base attributes as the typographic base
Link styles −Sets the global link color via attribute @link-color and apply link underlines only on :hover.
In bootstrap, Jumbotron is generally used for content that you want to highlight like some slogan or marketing headline etc. in other words it is used to
enlarge the size of the headings and to add a margin for landing page content
To use the Jumbotron in Bootstrap-
* Create a container <div> with the class of .jumbotron
Bootstrap uses Normalize to establish cross browser consistency.
Normalize.css is a modern, HTML5-ready alternative to CSS resets. It is a small CSS file that provides better cross-browser consistency in the default styling of HTML elements.
You can make terms and descriptions in <dl> line up side-by-side using class dl-horizontal.
|- Bootstrap offers unlimited number of UI elements||- In Foundation UI element options are very limited in numbers|
|- Bootstraps uses pixels||- Foundation use REMs|
|- Bootstrap encourages to design for both desktop and mobile.||- Foundation encourages to design mobile first|
|- Bootstrap support LESS as its preprocessor||- Foundation support Sass and Compass as its preprocessor|