|
Posted
about 13 years
ago
by
bruno [DOT] magoni [AT] iceng [DOT] ch (Bruno Magoni)
Headings
All HTML headings, through are available.
h1. Heading 1
h2. Heading 2
h3. Heading 3
h4. Heading 4
h5. Heading 5
h6. Heading 6
Body copy
Bootstrap's global default font-size is 14px, with a line-height of 20px. This is applied
... [More]
to the and all paragraphs. In addition, (paragraphs) receive a bottom margin of half their line-height (10px by default).
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.
Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
...
Lead body copy
Make a paragraph stand out by adding .lead.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
class="lead">...
Built with Less
The typographic scale is based on two LESS variables in variables.less: @baseFontSize and @baseLineHeight. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.
Emphasis
Make use of HTML's default emphasis tags with lightweight styles.
For de-emphasizing inline or blocks of text, use the small tag.
This line of text is meant to be treated as fine print.
This line of text is meant to be treated as fine print.
Bold
For emphasizing a snippet of text with important
The following snippet of text is rendered as bold text.
rendered as bold text
Italics
For emphasizing a snippet of text with stress
The following snippet of text is rendered as italicized text.
rendered as italicized text
Heads up! Feel free to use and in HTML5. is meant to highlight words or phrases without conveying additional importance while is mostly for voice, technical terms, etc.
Emphasis classes
Convey meaning through color with a handful of emphasis utility classes.
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
Etiam porta sem malesuada magna mollis euismod.
Donec ullamcorper nulla non metus auctor fringilla.
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
class="text-warning">Etiam porta sem malesuada magna mollis euismod.
class="text-error">Donec ullamcorper nulla non metus auctor fringilla.
class="text-info">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.
class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
Abbreviations
Stylized implemenation of HTML's element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a title attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.
For expanded text on long hover of an abbreviation, include the title attribute.
An abbreviation of the word attribute is attr.
title="attribute">attr
Add .initialism to an abbreviation for a slightly smaller font-size.
HTML is the best thing since sliced bread.
title="HyperText Markup Language" class="initialism">HTML
Addresses
Present contact information for the nearest ancestor or the entire body of work.
Preserve formatting by ending all lines with .
Twitter, Inc. 795 Folsom Ave, Suite 600 San Francisco, CA 94107 P: (123) 456-7890Full Name first [DOT] last [AT] gmail [DOT] com
Twitter, Inc.
795 Folsom Ave, Suite 600
San Francisco, CA 94107
title="Phone">P: (123) 456-7890
Full Name
href="mailto:#">first [DOT] last [AT] gmail [DOT] com
Blockquotes
For quoting blocks of content from another source within your document.
Default blockquote
Wrap around any HTML as the quote. For straight quotes we recommend a .
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Blockquote options
Style and content changes for simple variations on a standard blockquote.
Naming a source
Add tag for identifying the source. Wrap the name of the source work in .
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous title="Source Title">Source Title
Alternate displays
Use .pull-right for a floated, right-aligned blockquote.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
class="pull-right">
...
Lists
Unordered
A list of items in which the order does not explicitly matter.
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Integer molestie lorem at massa
Facilisis in pretium nisl aliquet
Nulla volutpat aliquam velit
Phasellus iaculis neque
Purus sodales ultricies
Vestibulum laoreet porttitor sem
Ac tristique libero volutpat at
Faucibus porta lacus fringilla vel
Aenean sit amet erat nunc
Eget porttitor lorem
...
Ordered
A list of items in which the order does explicitly matter.
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Integer molestie lorem at massa
Facilisis in pretium nisl aliquet
Nulla volutpat aliquam velit
Faucibus porta lacus fringilla vel
Aenean sit amet erat nunc
Eget porttitor lorem
...
Unstyled
A list of items with no list-style or additional left padding.
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Integer molestie lorem at massa
Facilisis in pretium nisl aliquet
Nulla volutpat aliquam velit
Phasellus iaculis neque
Purus sodales ultricies
Vestibulum laoreet porttitor sem
Ac tristique libero volutpat at
Faucibus porta lacus fringilla vel
Aenean sit amet erat nunc
Eget porttitor lorem
class="unstyled">
...
Description
A list of terms with their associated descriptions.
Description listsA description list is perfect for defining terms.EuismodVestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.Donec id elit non mi porta gravida at eget metus.Malesuada portaEtiam porta sem malesuada magna mollis euismod.
...
...
Horizontal description
Make terms and descriptions in line up side-by-side.
Description listsA description list is perfect for defining terms.EuismodVestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.Donec id elit non mi porta gravida at eget metus.Malesuada portaEtiam porta sem malesuada magna mollis euismod.Felis euismod semper eget laciniaFusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
class="dl-horizontal">
...
...
Heads up! Horizontal description lists will truncate terms that are too long to fit in the left column fix text-overflow. In narrower viewports, they will change to the default stacked layout.
Hero unit
A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.
Hello, world!
This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
Learn more
class="hero-unit">
Heading
Tagline
class="btn btn-primary btn-large">
Learn more
Page header
A simple shell for an h1 to appropriately space out and segment sections of content on a page. It can utilize the h1's default small, element as well most other components (with additional styles).
Example page header Subtext for header
class="page-header">
Example page header Subtext for header
[Less]
|
|
Posted
about 13 years
ago
by
bruno [DOT] magoni [AT] iceng [DOT] ch (Bruno Magoni)
By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.
Highly customizable
With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or
... [More]
buttons into thumbnails.
Thumbnail label
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Action Action
Thumbnail label
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Action Action
Thumbnail label
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Action Action
Why use thumbnails
Thumbnails (previously .media-grid up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.
Simple, flexible markup
Thumbnail markup is simple—a ul with any number of li elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.
Uses grid column sizes
Lastly, the thumbnails component uses existing grid system classes—like .span2 or .span3—for control of thumbnail dimensions.
Short Codes
class="thumbnails">
class="span4">
href="#" class="thumbnail">
src="http://placehold.it/300x200" alt="">
...
For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the for a like so:
class="thumbnails">
class="span4">
class="thumbnail">
src="http://placehold.it/300x200" alt="">
Thumbnail label
Thumbnail caption...
...
More examples
Explore all your options with the various grid classes available to you. You can also mix and match different sizes.
[Less]
|
|
Posted
about 13 years
ago
by
bruno [DOT] magoni [AT] iceng [DOT] ch (Bruno Magoni)
By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.
Highly customizable
With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs
... [More]
, or buttons into thumbnails.
Thumbnail label
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Action Action
Thumbnail label
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Action Action
Thumbnail label
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Action Action
Why use thumbnails
Thumbnails (previously .media-grid up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.
Simple, flexible markup
Thumbnail markup is simple—a ul with any number of li elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.
Uses grid column sizes
Lastly, the thumbnails component uses existing grid system classes—like .span2 or .span3—for control of thumbnail dimensions.
Short Codes
class="thumbnails">
class="span4">
href="#" class="thumbnail">
src="http://placehold.it/300x200" alt="">
...
For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the for a like so:
class="thumbnails">
class="span4">
class="thumbnail">
src="http://placehold.it/300x200" alt="">
Thumbnail label
Thumbnail caption...
...
More examples
Explore all your options with the various grid classes available to you. You can also mix and match different sizes.
[Less]
|
|
Posted
about 13 years
ago
by
[email protected] (Bruno Magoni)
Headings
All HTML headings, through are available.
h1. Heading 1
h2. Heading 2
h3. Heading 3
h4. Heading 4
h5. Heading 5
h6. Heading 6
Body copy
Bootstrap's global default font-size is 14px, with a line-height of 20px. This is applied
... [More]
to the and all paragraphs. In addition, (paragraphs) receive a bottom margin of half their line-height (10px by default).
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.
Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
...
Lead body copy
Make a paragraph stand out by adding .lead.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
class="lead">...
Built with Less
The typographic scale is based on two LESS variables in variables.less: @baseFontSize and @baseLineHeight. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.
Emphasis
Make use of HTML's default emphasis tags with lightweight styles.
For de-emphasizing inline or blocks of text, use the small tag.
This line of text is meant to be treated as fine print.
This line of text is meant to be treated as fine print.
Bold
For emphasizing a snippet of text with important
The following snippet of text is rendered as bold text.
rendered as bold text
Italics
For emphasizing a snippet of text with stress
The following snippet of text is rendered as italicized text.
rendered as italicized text
Heads up! Feel free to use and in HTML5. is meant to highlight words or phrases without conveying additional importance while is mostly for voice, technical terms, etc.
Emphasis classes
Convey meaning through color with a handful of emphasis utility classes.
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
Etiam porta sem malesuada magna mollis euismod.
Donec ullamcorper nulla non metus auctor fringilla.
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
class="text-warning">Etiam porta sem malesuada magna mollis euismod.
class="text-error">Donec ullamcorper nulla non metus auctor fringilla.
class="text-info">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.
class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
Abbreviations
Stylized implemenation of HTML's element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a title attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.
For expanded text on long hover of an abbreviation, include the title attribute.
An abbreviation of the word attribute is attr.
title="attribute">attr
Add .initialism to an abbreviation for a slightly smaller font-size.
HTML is the best thing since sliced bread.
title="HyperText Markup Language" class="initialism">HTML
Addresses
Present contact information for the nearest ancestor or the entire body of work.
Preserve formatting by ending all lines with .
Twitter, Inc. 795 Folsom Ave, Suite 600 San Francisco, CA 94107 P: (123) 456-7890Full Name [email protected]
Twitter, Inc.
795 Folsom Ave, Suite 600
San Francisco, CA 94107
title="Phone">P: (123) 456-7890
Full Name
href="mailto:#">[email protected]
Blockquotes
For quoting blocks of content from another source within your document.
Default blockquote
Wrap around any HTML as the quote. For straight quotes we recommend a .
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Blockquote options
Style and content changes for simple variations on a standard blockquote.
Naming a source
Add tag for identifying the source. Wrap the name of the source work in .
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous title="Source Title">Source Title
Alternate displays
Use .pull-right for a floated, right-aligned blockquote.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
class="pull-right">
...
Lists
Unordered
A list of items in which the order does not explicitly matter.
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Integer molestie lorem at massa
Facilisis in pretium nisl aliquet
Nulla volutpat aliquam velit
Phasellus iaculis neque
Purus sodales ultricies
Vestibulum laoreet porttitor sem
Ac tristique libero volutpat at
Faucibus porta lacus fringilla vel
Aenean sit amet erat nunc
Eget porttitor lorem
...
Ordered
A list of items in which the order does explicitly matter.
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Integer molestie lorem at massa
Facilisis in pretium nisl aliquet
Nulla volutpat aliquam velit
Faucibus porta lacus fringilla vel
Aenean sit amet erat nunc
Eget porttitor lorem
...
Unstyled
A list of items with no list-style or additional left padding.
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Integer molestie lorem at massa
Facilisis in pretium nisl aliquet
Nulla volutpat aliquam velit
Phasellus iaculis neque
Purus sodales ultricies
Vestibulum laoreet porttitor sem
Ac tristique libero volutpat at
Faucibus porta lacus fringilla vel
Aenean sit amet erat nunc
Eget porttitor lorem
class="unstyled">
...
Description
A list of terms with their associated descriptions.
Description listsA description list is perfect for defining terms.EuismodVestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.Donec id elit non mi porta gravida at eget metus.Malesuada portaEtiam porta sem malesuada magna mollis euismod.
...
...
Horizontal description
Make terms and descriptions in line up side-by-side.
Description listsA description list is perfect for defining terms.EuismodVestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.Donec id elit non mi porta gravida at eget metus.Malesuada portaEtiam porta sem malesuada magna mollis euismod.Felis euismod semper eget laciniaFusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
class="dl-horizontal">
...
...
Heads up! Horizontal description lists will truncate terms that are too long to fit in the left column fix text-overflow. In narrower viewports, they will change to the default stacked layout.
Hero unit
A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.
Hello, world!
This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
Learn more
class="hero-unit">
Heading
Tagline
class="btn btn-primary btn-large">
Learn more
Page header
A simple shell for an h1 to appropriately space out and segment sections of content on a page. It can utilize the h1's default small, element as well most other components (with additional styles).
Example page header Subtext for header
class="page-header">
Example page header Subtext for header
[Less]
|
|
Posted
about 13 years
ago
by
bruno [DOT] magoni [AT] iceng [DOT] ch (Bruno Magoni)
Headings
All HTML headings, through are available.
h1. Heading 1
h2. Heading 2
h3. Heading 3
h4. Heading 4
h5. Heading 5
h6. Heading 6
Body copy
Bootstrap's global default font-size is 14px, with a line-height of 20px. This is applied
... [More]
to the and all paragraphs. In addition, (paragraphs) receive a bottom margin of half their line-height (10px by default).
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.
Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
...
Lead body copy
Make a paragraph stand out by adding .lead.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
class="lead">...
Built with Less
The typographic scale is based on two LESS variables in variables.less: @baseFontSize and @baseLineHeight. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.
Emphasis
Make use of HTML's default emphasis tags with lightweight styles.
For de-emphasizing inline or blocks of text, use the small tag.
This line of text is meant to be treated as fine print.
This line of text is meant to be treated as fine print.
Bold
For emphasizing a snippet of text with important
The following snippet of text is rendered as bold text.
rendered as bold text
Italics
For emphasizing a snippet of text with stress
The following snippet of text is rendered as italicized text.
rendered as italicized text
Heads up! Feel free to use and in HTML5. is meant to highlight words or phrases without conveying additional importance while is mostly for voice, technical terms, etc.
Emphasis classes
Convey meaning through color with a handful of emphasis utility classes.
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
Etiam porta sem malesuada magna mollis euismod.
Donec ullamcorper nulla non metus auctor fringilla.
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
class="text-warning">Etiam porta sem malesuada magna mollis euismod.
class="text-error">Donec ullamcorper nulla non metus auctor fringilla.
class="text-info">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.
class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
Abbreviations
Stylized implemenation of HTML's element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a title attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.
For expanded text on long hover of an abbreviation, include the title attribute.
An abbreviation of the word attribute is attr.
title="attribute">attr
Add .initialism to an abbreviation for a slightly smaller font-size.
HTML is the best thing since sliced bread.
title="HyperText Markup Language" class="initialism">HTML
Addresses
Present contact information for the nearest ancestor or the entire body of work.
Preserve formatting by ending all lines with .
Twitter, Inc. 795 Folsom Ave, Suite 600 San Francisco, CA 94107 P: (123) 456-7890Full Name first [DOT] last [AT] gmail [DOT] com
Twitter, Inc.
795 Folsom Ave, Suite 600
San Francisco, CA 94107
title="Phone">P: (123) 456-7890
Full Name
href="mailto:#">first [DOT] last [AT] gmail [DOT] com
Blockquotes
For quoting blocks of content from another source within your document.
Default blockquote
Wrap around any HTML as the quote. For straight quotes we recommend a .
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Blockquote options
Style and content changes for simple variations on a standard blockquote.
Naming a source
Add tag for identifying the source. Wrap the name of the source work in .
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous title="Source Title">Source Title
Alternate displays
Use .pull-right for a floated, right-aligned blockquote.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
class="pull-right">
...
Lists
Unordered
A list of items in which the order does not explicitly matter.
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Integer molestie lorem at massa
Facilisis in pretium nisl aliquet
Nulla volutpat aliquam velit
Phasellus iaculis neque
Purus sodales ultricies
Vestibulum laoreet porttitor sem
Ac tristique libero volutpat at
Faucibus porta lacus fringilla vel
Aenean sit amet erat nunc
Eget porttitor lorem
...
Ordered
A list of items in which the order does explicitly matter.
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Integer molestie lorem at massa
Facilisis in pretium nisl aliquet
Nulla volutpat aliquam velit
Faucibus porta lacus fringilla vel
Aenean sit amet erat nunc
Eget porttitor lorem
...
Unstyled
A list of items with no list-style or additional left padding.
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Integer molestie lorem at massa
Facilisis in pretium nisl aliquet
Nulla volutpat aliquam velit
Phasellus iaculis neque
Purus sodales ultricies
Vestibulum laoreet porttitor sem
Ac tristique libero volutpat at
Faucibus porta lacus fringilla vel
Aenean sit amet erat nunc
Eget porttitor lorem
class="unstyled">
...
Description
A list of terms with their associated descriptions.
Description listsA description list is perfect for defining terms.EuismodVestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.Donec id elit non mi porta gravida at eget metus.Malesuada portaEtiam porta sem malesuada magna mollis euismod.
...
...
Horizontal description
Make terms and descriptions in line up side-by-side.
Description listsA description list is perfect for defining terms.EuismodVestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.Donec id elit non mi porta gravida at eget metus.Malesuada portaEtiam porta sem malesuada magna mollis euismod.Felis euismod semper eget laciniaFusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
class="dl-horizontal">
...
...
Heads up! Horizontal description lists will truncate terms that are too long to fit in the left column fix text-overflow. In narrower viewports, they will change to the default stacked layout.
Hero unit
A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.
Hello, world!
This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
Learn more
class="hero-unit">
Heading
Tagline
class="btn btn-primary btn-large">
Learn more
Page header
A simple shell for an h1 to appropriately space out and segment sections of content on a page. It can utilize the h1's default small, element as well most other components (with additional styles).
Example page header Subtext for header
class="page-header">
Example page header Subtext for header
[Less]
|
|
Posted
about 13 years
ago
by
bruno [DOT] magoni [AT] iceng [DOT] ch (Bruno Magoni)
By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.
Highly customizable
With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs
... [More]
, or buttons into thumbnails.
Thumbnail label
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Action Action
Thumbnail label
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Action Action
Thumbnail label
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Action Action
Why use thumbnails
Thumbnails (previously .media-grid up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.
Simple, flexible markup
Thumbnail markup is simple—a ul with any number of li elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.
Uses grid column sizes
Lastly, the thumbnails component uses existing grid system classes—like .span2 or .span3—for control of thumbnail dimensions.
Short Codes
class="thumbnails">
class="span4">
href="#" class="thumbnail">
src="http://placehold.it/300x200" alt="">
...
For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the for a like so:
class="thumbnails">
class="span4">
class="thumbnail">
src="http://placehold.it/300x200" alt="">
Thumbnail label
Thumbnail caption...
...
More examples
Explore all your options with the various grid classes available to you. You can also mix and match different sizes.
[Less]
|
|
Posted
about 13 years
ago
by
[email protected] (Bruno Magoni)
Default styles
For basic styling—light padding and only horizontal dividers—add the base class .table to any .
#First NameLast NameUsername
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
Larry
the Bird
@twitter
... [More]
class="table">
…
Optional classes
Add any of the follow classes to the .table base class.
.table-striped
Adds zebra-striping to any table row within the via the :nth-child CSS selector (not available in IE7-IE8).
#First NameLast NameUsername
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
Larry
the Bird
@twitter
class="table table-striped">
…
.table-bordered
Add borders and rounded corners to the table.
#First NameLast NameUsername
1
Mark
Otto
@mdo
Mark
Otto
@TwBootstrap
2
Jacob
Thornton
@fat
3
Larry the Bird
@twitter
class="table table-bordered">
…
.table-hover
Enable a hover state on table rows within a .
#First NameLast NameUsername
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
Larry the Bird
@twitter
class="table table-hover">
…
.table-condensed
Makes tables more compact by cutting cell padding in half.
#First NameLast NameUsername
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
Larry the Bird
@twitter
class="table table-condensed">
…
Optional row classes
Use contextual classes to color table rows.
ClassDescription
.success
Indicates a successful or positive action.
.error
Indicates a dangerous or potentially negative action.
.warning
Indicates a warning that might need attention.
.info
Used as an alternative to the default styles.
#ProductPayment TakenStatus
1
TB - Monthly
01/04/2012
Approved
2
TB - Monthly
02/04/2012
Declined
3
TB - Monthly
03/04/2012
Pending
4
TB - Monthly
04/04/2012
Call in to confirm
...
<tr class="success">
1</td>
TB - Monthlytd>
01/04/2012</td>
Approvedtd>
tr>
...
Supported table markup
List of supported table HTML elements and how they should be used.
TagDescription
Wrapping element for displaying data in a tabular format
Container element for table header rows () to label table columns
Container element for table rows () in the body of the table
Container element for a set of table cells ( or ) that appears on a single row
Default table cell
Special table cell for column (or row, depending on scope and placement) labels Must be used within a
Description or summary of what the table holds, especially useful for screen readers
...
...
...
...
...
[Less]
|
|
Posted
about 13 years
ago
by
[email protected] (Bruno Magoni)
Add quick, dynamic tab functionality to transiton through panes of local content, even via dropdown menus.
Home
Profile
Dropdown
@fat
@mdo
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu
... [More]
stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.
Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.
Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.
Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.
Usage
Enable tabbable tabs via JavaScript (each tab needs to be activated individually):
$('#myTab a').click(function (e) {
e.preventDefault();
$(this).tab('show');
})
You can activate individual tabs in several ways:
$('#myTab a[href="http://www.easysdi.org/#profile"]').tab('show'); // Select tab by name
$('#myTab a:first').tab('show'); // Select first tab
$('#myTab a:last').tab('show'); // Select last tab
$('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed)
Markup
You can activate a tab or pill navigation without writing any JavaScript by simply specifying data-toggle="tab" or data-toggle="pill" on an element. Adding the nav and nav-tabs classes to the tab ul will apply the Bootstrap tab styling.
class="nav nav-tabs">
href="#home" data-toggle="tab">Home
href="#profile" data-toggle="tab">Profile
href="#messages" data-toggle="tab">Messages
href="#settings" data-toggle="tab">Settings
Methods
$().tab
Activates a tab element and content container. Tab should have either a data-target or an href targeting a container node in the DOM.
class="nav nav-tabs" id="myTab">
class="active"> href="#home">Home
href="#profile">Profile
href="#messages">Messages
href="#settings">Settings
class="tab-content">
class="tab-pane active" id="home">...
class="tab-pane" id="profile">...
class="tab-pane" id="messages">...
class="tab-pane" id="settings">...
$(function () {
$('#myTab a:last').tab('show');
})
Events
EventDescription
show
This event fires on tab show, but before the new tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
shown
This event fires on tab show after a tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
$('a[data-toggle="tab"]').on('shown', function (e) {
e.target // activated tab
e.relatedTarget // previous tab
})
[Less]
|
|
Posted
about 13 years
ago
by
Magoni Bruno
|
|
Posted
about 13 years
ago
by
Magoni Bruno
|