発表時間:2024-05-14 13:09:35
Tag | Description |
---|---|
<table> | Wrapping element for displaying data in a tabular format |
<thead> |
Container element for table header rows (<tr> ) to label table columns
|
<tbody> |
Container element for table rows (<tr> ) in the body of the table
|
<tr> |
Container element for a set of table cells (<td> or <th> ) that appears on a single row
|
<td> | Default table cell |
<th> |
Special table cell for column (or row, depending on scope and placement) labels Must be used within a <thead> |
<caption> | Description or summary of what the table holds, especially useful for screen readers |
<table> <thead> <tr> <th></th> <th></th> </tr> </thead> <tbody> <tr> <td></td> <td></td> </tr> </tbody> </table>
Name | Class | Description |
---|---|---|
Default | None | No styles, just columns and rows |
Basic | .table | Only horizontal lines between rows |
Bordered | .table-bordered | Rounds corners and adds outer border |
Zebra-stripe | .table-striped | Adds light gray background color to odd rows (1, 3, 5, etc) |
Condensed | .table-condensed | Cuts vertical padding in half, from 8px to 4px, within all td and th elements |
Tables are automatically styled with only a few borders to ensure readability and maintain structure. With 2.0, the .table
class is required.
<table class="table"> </table>
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Get a little fancy with your tables by adding zebra-striping—just add the .table-striped
class.
Note: Striped tables use the :nth-child
CSS selector and is not available in IE7-IE8.
<table class="table table-striped"> </table>
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Add borders around the entire table and rounded corners for aesthetic purposes.
<table class="table table-bordered"> </table>
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
Mark | Otto | @TwBootstrap | |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
Make your tables more compact by adding the .table-condensed
class to cut table cell padding in half (from 8px to 4px).
<table class="table table-condensed"> </table>
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
Feel free to combine any of the table classes to achieve different looks by utilizing any of the available classes.
<table class="table table-striped table-bordered table-condensed"> ... </table>
Full name | |||
---|---|---|---|
# | First Name | Last Name | Username |
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
The best part about forms in Bootstrap is that all your inputs and controls look great no matter how you build them in your markup. No superfluous HTML is required, but we provide the patterns for those who require it.
商国互联 供应信息 能源,冶金,钢铁 有色金属加工材 有色金属线材福州防盗门 福州成安门业 福州防盗门厂家电话
供应【】国产压缩海绵(水泡) 质优价廉 欢迎选购代理加盟
猛狮科技产学研新模式 设计引领新产品研发塑料日用品 其他日用工具
甘肃景琪网络科技有限公司17成交1件男女同款职业马甲衬衣套装酒店ktv收银前台工装餐饮服务员“防疫泡泡”、“绿灯政策”.成都制造企业防疫不松生产不停
宁夏建投召开2023年度经营业绩考核大会暨2024年生产经营...不锈钢防火门生产厂家价格多少钱
餐饮服务六大技能之 餐巾折花
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical AG体育官方网站 | Stacked, left-aligned labels over controls |
Inline | .form-inline | Left-aligned label and inline-block controls for compact style |
Search | .form-search | Extra-rounded text input for a typical search aesthetic |
Horizontal | .form-horizontal | Float left, right-aligned labels on same line as controls |
石膏线 石膏线条 石膏制品 装饰灯盘 d029北京徐成文化发展有限公司
<form class="well">
<label>Label name</label>
<input type="text" class="span3" placeholder="Type something">
<span class="help-inline">Associated help text!</span>
<label class="checkbox">
<input type="checkbox"> Check me out
</label>
<button type="submit" class="btn">Submit</button>
</form>
Reflecting default WebKit styles, just add .form-search
for extra rounded search fields.
<form class="well form-search"> <input type="text" class="input-medium search-query"> <button type="submit" class="btn">Search</button> </form>
Inputs are block level to start. For .form-inline
and .form-horizontal
, we use inline-block.
<form class="well form-inline"> <input type="text" class="input-small" placeholder="Email"> <input type="password" class="input-small" placeholder="Password"> <label class="checkbox"> <input type="checkbox"> Remember me </label> <button type="submit" class="btn">Sign in</button> </form>
【平水伍角标十】三版五角纺织工镇江市振呈消防器材有限公司纺织商品学 朱进忠 主编 著 大学教材大中专 新华书店正版图书籍 化学
<form class="form-horizontal"> <fieldset> <legend>Legend text</legend> <div class="control-group"> <label class="control-label" for="input01">Text input</label> <div class="controls"> <input type="text" class="input-xlarge" id="input01"> <p class="help-block">Supporting help text</p> </div> </div> </fieldset> </form>
Shown on the left are all the default form controls we support. Here's the bulleted list:
上海青节纸制品有限公司镇江市振呈消防器材有限公司
张拉式膜结构 充气式膜结构 建筑膜 充气式膜结构高清图片 高清大图贝儿升职记之销售小玲约50一次2023年工程系列任职资格公示
福源能工业科技(上海)有限公司厦门天府佳味餐饮管理商标设计 - 123标志设计网™
<fieldset class="control-group error"> </fieldset>
【大国粮策】江苏盐城:一粒种子激活农业芯动力上海庆维乌餐饮有限公司
门店02O线上线下整合模式开发日用百货 收纳防尘 收纳盒 办公桌收纳盒家居高档木质多功能储物盒漆线雕定制 收藏品漆线雕 漆线雕炮弹 民族工艺品漆线雕图片
家居床品,家居沙发套.家居窗帘,家居靠垫,家居桌布-龙达纺织【批发 斜度孔尺(测孔规 锥度尺)】价格_厂家_图片 -
重庆防火卷帘门 力广门窗 耐用安全 防火卷帘门哪家好宁夏建投房地产开发建设项目领导小组召开2024年复工复产工作...
云霄钢木防火门福州防火窗加工 鑫安辕 隔音防火门生产diy 线材 镀金196镀处理 线套铜套 镀金管套 1平方到10平方广州市明彩纸制品包装印刷
新疆乌什贴面板吊顶厂家直销