For performance reasons, all icons require a base class and individual icon class. To use, place the following code just about anywhere. Be sure to leave a space between the icon and text for proper padding.
Dropdowns
Toggleable, contextual menu for displaying lists of links. Made interactive with thedropdown JavaScript plugin.
Example
Wrap the dropdown's trigger and the dropdown menu within .dropdown, or another element that declares position: relative;. Then add the menu's HTML.
Group a series of buttons together on a single line with the button group. Add on optional JavaScript radio and checkbox style behavior with our buttons plugin.
Button dropdowns
Use any button to trigger a dropdown menu by placing it within a .btn-group and providing the proper menu markup.
Single button dropdowns
Turn a button into a dropdown toggle with some basic markup changes.
Place one add-on or button on either side of an input. You may also place one on both sides of an input.
We do not support multiple add-ons (.input-group-addon or .input-group-btn) on a single side.
We do not support multiple form-controls in a single input group.
Copy
<divclass="input-group"><spanclass="input-group-addon"id="basic-addon1">@</span><inputtype="text"class="form-control"placeholder="Username"aria-describedby="basic-addon1"></div><divclass="input-group"><inputtype="text"class="form-control"placeholder="Recipient's username"aria-describedby="basic-addon2"><spanclass="input-group-addon"id="basic-addon2">@example.com</span></div><divclass="input-group"><spanclass="input-group-addon">$</span><inputtype="text"class="form-control"aria-label="Amount (to the nearest dollar)"><spanclass="input-group-addon">.00</span></div><labelfor="basic-url">Your vanity URL</label><divclass="input-group"><spanclass="input-group-addon"id="basic-addon3">https://example.com/users/</span><inputtype="text"class="form-control"id="basic-url"aria-describedby="basic-addon3"></div>
Sizing
Add the relative form sizing classes to the .input-group itself and contents within will automatically resize—no need for repeating the form control size classes on each element.
Buttons in input groups are a bit different and require one extra level of nesting. Instead of .input-group-addon, you'll need to use.input-group-btn to wrap the buttons. This is required due to default browser styles that cannot be overridden.
<divclass="input-group"><divclass="input-group-btn"><!-- Button and dropdown menu --></div><inputtype="text"class="form-control"aria-label="..."></div><divclass="input-group"><inputtype="text"class="form-control"aria-label="..."><divclass="input-group-btn"><!-- Button and dropdown menu --></div></div>
Multiple buttons
While you can only have one add-on per side, you can have multiple buttons inside a single .input-group-btn.
Navs available in Bootstrap have shared markup, starting with the base .nav class, as well as shared states. Swap modifier classes to switch between each style.
Using navs for tab panels requires JavaScript tabs plugin
For tabs with tabbable areas, you must use the tabs JavaScript plugin. The markup will also require additional role and ARIA attributes – see the plugin's example markup for further details.
Make navs used as navigation accessible
If you are using navs to provide a navigation bar, be sure to add a role="navigation" to the most logical parent container of the <ul>, or wrap a <nav> element around the whole navigation. Do not add the role to the <ul> itself, as this would prevent it from being announced as an actual list by assistive technologies.
Tabs
Note the .nav-tabs class requires the .nav base class.
good
ReplyDeleteResponsive create korar jonno bootstrap jantre hobe.................
ReplyDelete