Reviewer
Quiz yourself by thinking what should be in
each of the black spaces below before clicking
on it to display the answer.
Help!
|
|
||||
---|---|---|---|---|---|
Setting one column width You may use predefined grid classes (as shown below), grid mixins, or inline widths. Note that the other columns will resize no matter the width of the center column. | show 🗑
|
||||
show | True
🗑
|
||||
The padding is then counteracted on the cols with negative margins. This way, all the content in your columns is visually aligned down the left side. | show 🗑
|
||||
show | True
🗑
|
||||
Responsive classes Bootstrap’s grid includes five tiers of predefined classes for building complex responsive layouts. Customize the size of your columns on extra small, small, medium, large, or extra large devices however you see fit. | show 🗑
|
||||
show | True
🗑
|
||||
Rows are non-wrappers for columns. | show 🗑
|
||||
show | True
🗑
|
||||
To make the grid responsive, there are six grid breakpoints, one for each responsive breakpoint: all breakpoints (extra small), small, medium, large, and extra large. | show 🗑
|
||||
Equal-width For example, here are two grid layouts that apply to every device and viewport, from xs to xl. Add any number of unit-less classes for each breakpoint you need and every column will be the same width. | show 🗑
|
||||
show | True
🗑
|
||||
show | True
🗑
|
||||
show | False
🗑
|
||||
While containers can be nested, most layouts do not require a nested container. | show 🗑
|
||||
show | True
🗑
|
||||
Page defaults The <html> and <body> elements are updated to provide better page-wide defaults. | show 🗑
|
||||
show | False
🗑
|
||||
All-in-one Our default .container class is a non-responsive, fixed-width container, meaning its max-width changes at each breakpoint | show 🗑
|
||||
show | True
🗑
|
||||
show | True
🗑
|
||||
No gutters The gutters between columns in our predefined grid classes can be removed with .no-gutters. This removes the negative margins from .row and the horizontal padding from all immediate children columns. | show 🗑
|
||||
Alignment Use flexbox alignment utilities to vertically and horizontally align columns. | show 🗑
|
||||
Grid System, use our powerful Mobile-first flexbox grid to build layouts of all shapes and sizes. | show 🗑
|
||||
Be aware of the limitations and bugs around flexbox, like the inability to use some HTML elements as flex containers. | show 🗑
|
||||
Containers provide a means to vertically and horizontally pad your site’s contents. | show 🗑
|
||||
While Bootstrap uses ems or rems for defining most sizes, pxs are used for grid breakpoints and container widths. This is because the viewport width is in pixels and does not change with the font size. | show 🗑
|
||||
show | True
🗑
|
||||
show | True
🗑
|
||||
show | True
🗑
|
||||
show | True
🗑
|
||||
Bootstrap’s responsive styles are built to be responsive, an approach that’s often referred to as mobile-first. We use this term in our docs and largely agree with it, but at times it can be too broad. | show 🗑
|
||||
show | True
🗑
|
||||
While containers can be nested, most layouts do require a nested container. | show 🗑
|
||||
show | True
🗑
|
||||
Containers are the most basic layout element in Bootstrap and are required when using our default grid system. | show 🗑
|
||||
Variables and maps determine the number of columns, the gutter width, and the media query point at which to begin floating columns. We use these to generate the predefined grid classes documented above, as well as for the custom mixins listed below. | show 🗑
|
||||
Variable width content Use col-{breakpoint}-auto classes to size columns based on the natural width of their content. | show 🗑
|
||||
show | True
🗑
|
||||
Bootstrap’s grid system uses a series of containers, rows, and columns to layout and align content. | show 🗑
|
||||
The padding is then counteracted on the rows with negative margins. This way, all the content in your columns is visually aligned down the left side. | show 🗑
|
||||
show | True
🗑
|
||||
show | True
🗑
|
||||
show | True
🗑
|
||||
Responsive breakpoints Since Bootstrap is developed to be Desktop first, we use a handful of media queries to create sensible breakpoints for our layouts and interfaces. | show 🗑
|
||||
show | True
🗑
|
||||
show | False
🗑
|
||||
show | True
🗑
|
||||
show | True
🗑
|
||||
Customizing the grid Using our built-in grid Sass variables and maps, it’s possible to completely customize the predefined grid classes. Change the number of tiers, the media query dimensions, and the container widths—then recompile. | show 🗑
|
||||
show | True
🗑
|
||||
show | True
🗑
|
||||
Bootstrap primarily uses the following media query ranges or breakpoints in our source Sass files for our layout, grid system, and components. | show 🗑
|
||||
Breadcrumb Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS. | show 🗑
|
||||
show | True
🗑
|
||||
Setting one column width Auto-layout for flexbox grid columns also means you can set the width of one column and have the sibling columns automatically resize around it. | show 🗑
|
||||
All breakpoints For grids that are the same from the smallest of devices to the largest, use the .col and .col-* classes. Specify a numbered class when you need a particularly sized column; otherwise, feel free to stick to .col. | show 🗑
|
||||
Offsetting columns You can offset grid columns in two ways: our responsive .offset- grid classes and our margin utilities. Grid classes are sized to match columns while margins are more useful for quick layouts where the width of the offset is variable. | show 🗑
|
||||
show | False
🗑
|
||||
Sass mixins When using Bootstrap’s source Sass files, you have the option of using Sass variables and mixins to create custom, semantic, and responsive page layouts. | show 🗑
|
||||
show | True
🗑
|
||||
In a grid layout, content must be placed within columns and only columns may be immediate children of rows. | show 🗑
|
||||
show | True
🗑
|
||||
show | False
🗑
|
||||
show | True
🗑
|
||||
show | False
🗑
|
||||
Badges Documentation and examples for badges, our small count and labeling component. | show 🗑
|
||||
show | True
🗑
|
||||
Rows are wrappers for columns. | show 🗑
|
||||
Column breaks Breaking columns to a new line in flexbox requires a small hack: add an element with width: 100% wherever you want to wrap your columns to a new line. | show 🗑
|
||||
show | True
🗑
|
||||
show | True
🗑
|
||||
show | True
🗑
|
||||
Various form elements have been rebooted for simpler base styles. | show 🗑
|
Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.
Normal Size Small Size show me how
Normal Size Small Size show me how
Created by:
PipoyKuraku