Styleguide
Tracia I belive this code is using an older version of Boostrap but its a great and quick example to get started.
The minimum html boiler plate to add boostrap is in
Tracia I belive this code is using an older version of Boostrap but its a great and quick example to get started.
The minimum html boiler plate to add boostrap is in
Use the technique of Mobile First to creat the pages and components.
Always start with the classes relates do the smaller screens, Example
Right
.col-xs-12.col-md-6
Wrong
.col-md-6.col-xs-12
.col-xs-12.col-lg-6.col-md-4
Always start writting the grid elements.
Avoid mix elements with grid classes and other component classes
Start using elements already created on bootstrap instead create new ones
Use the grid classes to orders and change the orders of the elements, but avoid too many changes in the same page.
Just add the class bg-XXX to the element.
To avoid conflict with some pre existent background-color just add another div with the class.
Avoid change backgrounds to this colors, they should be used only for main actions and elements of a page.
The most important elements that can need this colors already exist on the styleguide, like buttons, labels, progress bars and panels.
.col-xs-12
.col-xs-6
.col-xs-3
.col-xs-3
.col-xs-3
.col-xs-3
.col-xs-3
.col-xs-3
To see the grid, use the class .show-grid on the body tag or on the area that you wanna check.
Always, check if has a container with a row and col-XXX-nr.
If you need split columns, add a new row.
Use the mobile first aproach, to create pages and to organize the order of classses in HTML.
All elements and components should be inserted inside a col-XXX-nr
Add the tag heading with the right font-size or add the class hXX.
To add subtitle or helper text, add a small tag inside the heading element
The tag can be a heading or any other element.
Try to use only one h1 for each page. If you need visually more than one, use the class in other level of heading
For main titles of the page, prefer to use the component Page Header
text lead, with bigger font.
The following snippet of text is the default paragraph.
The following snippet of text is the default paragraph with a link.
The following snippet of text is hilighted.
The following snippet of text is deleted.
The following snippet of text is Strikethrough.
The following snippet of text is inserted.
The following snippet of text is underlined.
The following snippet of text is small.
The following snippet of text is bold.
The following snippet of text is italic.
The following snippet of text is abbreviation.
The following snippet of text has a smaller text on start.
The following snippet of text is a code <section>.
The following snippet of text is a keyboard instruction cd.
text lead, with bigger font.
The following snippet of text is the default paragraph.
The following snippet of text is the default paragraph with a link.
The following snippet of text is hilighted.
The following snippet of text is deleted.
The following snippet of text is Strikethrough.
The following snippet of text is inserted.
The following snippet of text is underlined.
The following snippet of text is small.
The following snippet of text is bold.
The following snippet of text is italic.
The following snippet of text is abbreviation.
The following snippet of text has a smaller text on start.
The following snippet of text is a code <section>.
The following snippet of text is a keyboard instruction cd.
Just add regular HTML texts tags
Avoid create exceptions and custom css styles fo texts
All the texts shopuld be insertd inside text tags.
For every text, prefer to use the regular elements and default texts.
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
Nullam id dolor id nibh ultricies vehicula ut id elit.
Etiam porta sem malesuada magna mollis euismod.
Donec ullamcorper nulla non metus auctor fringilla.
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
Text white Etiam porta sem malesuada magna mollis euismod.
Maecenas sed diam eget risus varius blandit sit amet non magna.
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
Nullam id dolor id nibh ultricies vehicula ut id elit.
Etiam porta sem malesuada magna mollis euismod.
Donec ullamcorper nulla non metus auctor fringilla.
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
Text white Etiam porta sem malesuada magna mollis euismod.
Maecenas sed diam eget risus varius blandit sit amet non magna.
Just add the class text-XXX to the element.
To avoid conflict with some pre existent text-color just add another div with the class.
Use this colors to highlight some information, or giv feedback to the user.
The most important elements that can need this colors already exist on the styleguide, like error messages, titles, input label states and alert texts.
Lowercased text.
Uppercased text.
Capitalized text.
Lowercased text.
Uppercased text.
Capitalized text.
Add the proper classes to the text tag.
Avoid add on parent elements, like add in the panel element, instead of the content of panel
To avoid conflict with some pre existent cont-style, add a extra span with the right class.
No specif rule, just try to avoid the default text styles of components.
Just small snippet of code, no specic rule
Try do add this for any address reference, for better SEO.
this need a caret
this need a caret
Just add a span with the caret class.
This is part od dropdown elements.
this needs a close button on right side
Add the snoped of code, as it is.
Use buttons for close alerts and modals
Use icons always in standlone elements, never mix icons with other classes
Left aligned text.
Center aligned text.
Right aligned text.
Justified text. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Saepe asperiores, quibusdam voluptatem nihil numquam esse ratione laborum ad, voluptatibus dolore earum molestiae optio eveniet unde. Quia doloribus vero libero nam.
No wrap text.
Left aligned text.
Center aligned text.
Right aligned text.
Justified text. Lorem ipsum dolor sit amet.
No wrap text.
Just add the classes to components, but do not mix this with columns.
This classes are fot text only, no specific rules.
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 in Source Title
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 in Source Title
Just add the components, with tle optional class to the right alignment, but do not mix this with columns.
This classes are fot text only, no specific rules.
Jus add plain ul markup
Check the type of contet, if is unordered list, when the order of the elements don't matter.
Jus add plain ol markup
Check the type of contet, if is ordered list, when the order of the elements matter.
Jus add plain ol or ul markup
Dont mix the list-inline with list-unstyled.
Choose the ul or ol based on the content, and if the layout requires, or the bullets and numbers are not needed, use the unstyled style.
Jus add plain ol or ul markup
Dont mix the list-inline with list-unstyled.
Choose the ul or ol based on the content, and if the layout requires, or the bullets and numbers are not needed, use the inline style.
Jus add plain definition list markup with the optional class for horizontal layout.
Choose the dl if you have a list with scrict titles and descriptions. Add the horizontal layout to make more eradable.
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name |
|---|---|
| 1 | Mark |
| 2 | Jacob |
| 3 | Larry |
Write basic markup, and try to use the elements caption with a short description of the table and thead, tbody, th and td for separation of header and content.
Use tables for what they are intented to, tabular data, or, organized data, with titles, and coparision of rows
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| # | First Name |
|---|---|
| 1 | Mark |
| 2 | Jacob |
Same as basic table, but with an extra class for better visualization of rows.
Same as basic table.
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name |
|---|---|
| 1 | Mark |
| 2 | Jacob |
Same as basic table, but with an extra class for better visualization if mixed with other components in same page.
Same as basic table.
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name |
|---|---|
| 1 | Mark |
| 2 | Jacob |
Same as basic table, but with an extra class for better visualization when interacting with the content of the table.
We can add this behavior/class along with other classes, like class for striped rows.
Same as basic table, plus if we have too many rows, too many columns or need compare data.
| # | Column heading | Column heading | Column heading |
|---|---|---|---|
| 1 | Column content | Column content | Column content |
| 2 | Column content | Column content | Column content |
| 3 | Column content | Column content | Column content |
| 4 | Column content | Column content | Column content |
| 5 | Column content | Column content | Column content |
| 6 | Column content | Column content | Column content |
| 7 | Column content | Column content | Column content |
| # | Column heading |
|---|---|
| 1 | Column content |
| 2 | Column content |
| 3 | Column content |
| 4 | Column content |
| 5 | Column content |
| 6 | Column content |
| 7 | Column content |
Same as basic table, but with an extra class for some lines, based on states classes.
Same as basic table, with some rows with colors, based on state of the data, present or not in the table, for example, with an extra column "completed" or just the color, instead the text.
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name |
|---|---|
| 1 | Mark |
| 2 | Jacob |
Same as basic table, but with an extra class for small table.
Use if you ahve a small table as part of other component, like detail, not if the table ins the main content of the page.
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| # | First Name |
|---|---|
| 1 | Mark |
| 2 | Jacob |
Same as basic table, but with an extra class for small screens.
This class just add horizontal scroll to the table on mobile devices.
Add this behavior if the table as too many columns, or if the content of some column as too many text.
Use the default property autofocus to set the initial focus to some field.
Use the default property disabled to set disable some field.
Add the class has-STATE to the form-group elelemnt, and the field and labels will follow the colors of the state.
Use the autofocus if the main purpose of the screen is fill the field.
Use the disabled if we need to show to the user that some information is not changeable. If some information is not possible to change and the user dont need to know that, hide the information instead of show as non editable.
The input states are emant to give feedback to the user:
Add the class input-SIZE to the input element.
Use always the default size, change to bigger or smaller if the main action of the page is not a single form.
Use small input-sm if the form ins inside another element, like a table.
Use large input-lg if you have a form with few fields or inside a container with higher priority, like a modal.
Add a span with the class input-group-addon just before or after the field.
Use the add on as helper to teh user, with something that can be part of the value, but dont need to be filled, because its a default value, like a currency symbol, default cents of a price, or country phone code.
Avoid to use the add on as a label of the field.
form-group blocks without grid are displayed stacked, with vertical layout
Vertical forms should be used for long forms, when the form is the main action of the page.
Prefer to write forms with the grid system.
Add the class form-inline in the form element to display form-groups aligned horizontally, as text, without label.
Use for small forms, with one or two fields.
Prefer to write forms with the grid system.
Add the class form-horizontal in the form element to display form-groups as rows, with the label aligned to the field, on left side.
Same use as the default form, but limited to the sise of the label of the field.
Prefer to write forms with the grid system.
Write thre grid first, and after this insert in each row the proper label or field.
Best aproach in most of the cases, because has betetr control in the small screens, better than juns stack / use the vertical form.
Use the button classes btn btn-STATE to set thebutton appearance to button, linka a, or other elements like div or span.
Choose the right state for the action, generally:
add the disabled class to any button-STATE to show the light version/.
Use for disabed buttons, when the action is disable, like, after the user already press the button, or need to fill some field before
Create a button group with two links with the btn btn-STATE class, followed by a list with dropdown-menu.
Use whe the user has to choose the sub action, for example a "Delete" button, with subaction "Delete all" and "Delete this".
Avoid mix diferent types of actions inside the same dropdoww, like "Save" and "Delete".
Avoid to use the dropdow as a menu.
Add the size button class with the button state classes btn btn-STATE btnSIZE.
Prefer to use the default size, change the size to follow the size of the form, with the same rules as the input sizes.
Add the btn-block class to force the button to behave like a block, using the full width.
This classe works well when you yse buttons inside cols of the grid
Use with the grid to controll better how the button is displayed in slall screens or if yopu need large buttons in bigger screens too.
Wrap regular buttons inside a element with btn-group.
Use to create groups of buttons with similar behavior, like pagination, or texts controls (bold / italic)
Same as Button Group with an extra class btn-group-justified.
Use to make a btn-group use the full width, to make the actions more visible.
Wrap a set of btn-group indide a element with the class btn-toolbar.
You can add a dropdown too.
Use when you have to group other groups of btn-group with related actions, for example, group two lists of actiosn related to soem etxt editor, firs with bold, italic, and other with align left, align center and align right.
Wrap the buttons inside a btn-group-vertical element.
Group buttons and actions with similar actions, stacked to fit the layout, or only for small screens.
add the class img-rounded, img-circleor img-thumbnail to the image tag.
The appearance is changed only by the rounded or with border, the classes dont change the size, so we can use class img-thumbnail to apply border in a large image.
No spoecific rules.
Just add the classes to components, but do not mix this with columns.
Dont use to fload a position a column.
This classes are fot blocks only, no specific rules.
3 divs bellow, two hidden, one visible
.show
.hidden
.invisible « Something invisible here!
.show .hidden .invisible « Something invisible here! Add the class show, hiddenor invisible to the element.
invisible class change the visibility, not the display type, so the element still using space on the screen.
Use show/hidden to make elements lvisible/unvisible to the user, only if the element visibility can be toggled without reload. If the element never will be visible, the element should be not present on the HTML.
With the class sr-only you can make shortcuts for screenreaders.
Use to hide something, like a menu, to teh regular users, and add a shortuct or message to the users using screen readers.
With the class text-hide you can hide texts inside elements and keep the images or other elements.
use to hide image descriptions, like in logos.
To show some element only for one screen size, use the classes .visible-XX-*
To hide some element only for one screen size, use the classes .hidden-XX-*
For both types of classes, you can choose the display type, with the last part of the class name, using
.visible-*-block.visible-*-inline.visible-*-inline-block
The same behavior works for hide/print with the Drop
.visible-print-block
.visible-print-inline
.visible-print-inline-block
Visible as block on small screens only
Visible as block on big screens
Visible as inline on small screens only
Visible as inline on big screens
Visible as block for print only
Visible as block on small screens only
Visible as block on big screens
Visible as inline on small screens only
Visible as inline on big screens
Visible as block for print only
Add the class visible-SIZE-DISPLAY to the element to hide in a specifi screen size.
You can use this classes just to show/hide some element like a banner that should be visible only on mobile, for example, or duplicate content, with diffent layouts based on screel size, for example:
Inside a dropdown wrapper, add a button (with a caret span inside), followed by a list with dropdown-menu class.
To change the direction of open submenu, wrap with the class dropup.
You can add a list header, inside the list dropdown-menu, adding the class dropdown-header to the list element.
You can add a list divider, inside the list dropdown-menu, adding the class divider to the list element.
Use dropdows to create navigations grouped, like in Buttons dropdowns.
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu 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.
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.
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.
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu 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.
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.
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.
Create a list with the class nav nav-tabs with links to panel tab IDs.
Avoid create too many tabs, because they are not responsive, and break line in small screens
You can use responsive visible classes to show the navigation as tabs on bigger screens and as collapse in small screens.
Create a list with the class nav nav-pills.
Use to create a navigation like tabs, but without the behavior of tabs, with hidden elements with content.
You can use responsive visible classes to show the navigation as pills on bigger screens and as collapse or Pills vertical in small screens.
Create a list with the class nav nav-pills nav-stacked.
Use to create a navigation like tabs, but without the behavior of tabs, with hidden elements with content.
You can use responsive visible classes to show the navigation as pills stacked on bigger screens and as collapse in small screens.
Add the navbar class wrapper, and the content elements inside.
Use the navbar-toggle collapsed to create the button to open the menu in small screens.
Add the navbar-inverse to change the color.
Use in top o footer of the page, or both, with the main links and submenus
Just create a list with the breadcrumb.
The last item, to the current page should be a plain text.
Add in all the pages, with the site map to teh current page.
Add a simple list with the pagination class and the class for size pagination-SIZE or style pagination-STYLE.
Try ti display pagination in top and footer of the lists, if the list is bigger than the size on screen.
Add a list with the pager class. To add the arrows, use the previous or next classes to the list item.
Try to use pagination with numbers, or the pagination plain, only with the links if not possible.
Add span element with the classes label label-STATE.
Avoid mix the label classes with other classes.
Use to display small texts, informing the user about the state or counting of some item.
Add span element with the class badge.
Avoid mix the label classes with other classes.
Use to display small texts or numbers, informing the user about the state or counting of some item.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium in quo non libero quod autem dolor atque provident, necessitatibus expedita. Nam ipsam incidunt ut minus molestiae inventore blanditiis, quaerat ab?
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium in quo non libero quod autem dolor atque provident, necessitatibus expedita. Nam ipsam incidunt ut minus molestiae inventore blanditiis, quaerat ab?
Use snimet of code aside, and change the content.
Donr change the headings, for better appearance.
Use to create page or section headers, one per gape or section.
Use a title with the page-header wrapper.
Use to create page or section headers.
The example is a simple use case of different components together, using the grid.
No specific rule.
Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
Add the alert to the wrapper element, with the style class, alert-STYLE
You can add button to close, with the markup and the class alert-dismissible on the wrapper element.
To add titles, add the headings or use the element strong.
Use to give feedback to the user, about an action.
Avoid use as simple box, with form or any other content inside.
Add a element progress-bar wiyth a inline width, inside a a progress wrapper.
To show the value of the bar, add the text inside the codw progress-bar.
To animate the progress-bar add the class progress-striped to the wrapper.
Use progress-bar-STATE to change the color os the bars.
The progress accepst multiple bars inside, use diferent colors, like progress-STYLE do make visible, and care with the order of elements to make all visible.
Use to show progress of some complex operation, like multiple page form, or duration of some operation.
Add the wrapper media with the content, and the right classes to position the media/image
No specific rule
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Add the wrapper media with the content, and the right classes to position the media/image
No specific rule
Add the list-group to the ul element and list-group-item to each list item element
Use for show lists with states for itens
Add the list-group to the div element and list-group-item to each link.
Use to display links as a stacked list, like menus, with or without states
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Like the regular list-group, but with complex content.
The same as list-group, but avoid content too large inside.
Add the class panel panel-default to the div, and the elements panel-heading, panel-footer, optionals, and panel-body.
Use to cerate areas of content, avoid add states to panels, of the content is too big, like a form.
Avoid stacked panels.
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name |
|---|---|
| 1 | Mark |
| 2 | Jacob |
| 3 | Larry |
Add the class panel panel-STATE to the div, and the elements panel-heading, optional, and panel-body.
Use to cerate areas of content, avoid add states to panels, of the content is too big, like a form.
Just add the well class the element.
Use to display any static information to the user.
Avoid add too many content inside, like forms. Try to use as information box only, like the alerts.
Copy the code snippet aside, check if has the corrects IDs and buttons to close.
Use the areas with the right content, titles, body and footer for actions and buttons.
Use modals to show adtional informations, confirm actions
.Avoid use modals to display forms or any main task to the user.
Add the property data-toggle="tooltip" to any element and the properties, optional, data-placement and data-original-title.
Use to display tiny informations and feedbacks to the user. The information of tooltips sjould not be required to complete any task.
Add the property data-toggle="collapse" to the link, with the href or data-target= with the ID of the collapsible element.
Use to display extra information, like the toltips.
Avoid use collapsible elements mandatory to complete some action.
Use as external controller to collapse.
Add the panel wrapper with the panel-heading and panel-collapse and add the unique IDs.
Use the code snipet
Use for information and fors splited by steps or groups of type of information, when is mandatory show only one step at each time.
You can use the collapse as a small screen alternative to the regular tabs navigation.
Copy the example of code, above. You can use as full row in your page or inside a smaller column.
Add a container inside the content of slides and wrap the carousel-control if necessary.
Use images with the right size, avoid strech images.
Dont use..