目录

1. Glyphicons字体图标

2.下拉菜单

3.按钮组

4. 输入框组

5.导航

6. 导航条

7. 路径导航

1. Glyphicons字体图标

出于性能的考虑,所有图标都需要一个基类和对应每个图标的类。注意,为了设置正确的内补(padding),务必在图标和文本之间添加一个空格。图标类只能应用在不包含任何文本内容或子元素的元素上。

 <span class="glyphicon glyphicon-search" aria-hidden="true"></span>

这些图标可以应用到按钮、工具条中的按钮组、导航或输入框等地方。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAACFCAIAAAAivZ0NAAAKbklEQVR4nO3dzW7iSBfG8bknboeb4SLYs8kVsGWTfSQqXjRxG5A6wiC1EsWLRFGFFpkFwfijXNjGlF3l/281L1917HnzcOZQmP++AQDO+a/tAgAAzSPcAcBBhDsAOIhwBwAHEe4A4CDCHQAcRLgDgIMIdwBw0MVwF9PxeDy+u39W3fl8f6e86/n+bjyeigbqAwDUoAj35/u7sVYc58cMn05zdxHuANCqonDXtOrxfXGEi2kc5cdeXhDuANAmTbiL6SnHz/+UDPdjhz8VyVZ/eq8P9+OQh9gHgNsqnrk/Pz//ZPl0qmrljzk9norn+7s44gl3AOiConAX03Fq1FIc7vc/Dfx5IMNYBgBaVhDu57b9/jkV9ImHCHF/zPdjaz/ORDzhDgCtUYS7SOx+UTvFduKD1NMbAOEOAB1Qcp+7elAeh3v82eqlcGfmDgAm6ML9lOs/YZ3Z5P4dh3s+sQv3uRPuAGCCKtzPWxtzKSymyXwX09N3mM4PjJ9MggNAa7i2DAA4iHAHAAcR7gDgIMIdABxEuAOAgwh3AHAQ4Q4ADiLcAcBBhDsAOIhwBwAHEe4A4CDCHQAcRLgDgIMIdwBwEOEOAA4i3AHAQepwl1Ku12vP8x5gM8/z1uu1lNLw/6sAtE4R7lLKx8fHzWZjMhQeHh6MrdWfRaWU2+1WCEG+A32jCPf1er3ZbAzX4XzOtrhoGIbL5dLwogDapQh3z/PMN3o9ydlWFpVSCsEv2gL9ogj3nkQeiwJwGOHOogAcRLiz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wv0C2w/QrmoBk5oO99xoJD8rufBkVRYnP2dMhXt+RnNs5An3cmw/QLuqBUxqONzV1xwofSWC7AgmeWt6B0xqr0j6SzKMZcqz/QDtqhYwqdlwT13zJK3kd4+KpjqKC5Fkt40wc68ufzid2ieuxy5yQKPRcL90/faS13fPBnY2nTPtefL9IL6AYmITPOFeLH843dknrscuckCPX2LS6WG4d2efuB67yAE9wl0nfyqEEFLKVoppnJRSCNF2FQBugnDXyZ+K1Wq13W5bKaZxu90uCIK2qwBwE4S7Tv5USCnn83kYhlb371LK3W43n88/Pz/brgXATRDuOspTIaVcLpdCiPYGztcSQgRBQLIDDiPcdTgVACxFuOtwKgBYinDX4VQAsBThrsOpAGApwl2HUwHAUoS7DqcCgKUU4e553n6/N19K1+z3e77ACcBSinBfLpdRFJkvpWuiKOILnAAspQj319dX3/e5JJPv+3///m27CgCoQxHu39/fQRD0/JJ7YRj6fu1LBQNAy9Th/vX1FQTBYrGIoqhX8/f9fh9Fke/7vu9/fX21XQ4A1KQO96OXl5cgCKy+iEpVx4uuMI0BYDtduAMALEW4A4CDCHcAcBDhDgAOItwBwEGEOwA4iHAHAAf9D18hkR0UgTJzAAAAAElFTkSuQmCC" alt="" />

 <button type="button" class="btn btn-default" aria-label="Left Align">
<span class="glyphicon glyphicon-align-left" aria-hidden="true"></span>
</button> <button type="button" class="btn btn-default btn-lg">
<span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star
</button>

2.下拉菜单

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQIAAADxCAIAAACvXC4EAAAP80lEQVR4nO3d/28b9R3H8fsbCkPkl6o/okWjlOzHVUMaX1rRTP2BbFKCxhdpPxa1rEuGENZUUEHTwO0PW38gTF4ns3WqRhASiLlENf0BaGAtZsO92s41jt1cbJ8d55vjuOnth4/98cfn8+Wd+Jy7fPp66CORnr/k4vs887lzIqIkclU+fvnWP/46lTv3xdyZK7ff+Tz7x8uZP1zOvDmZfuPSzOuXZo5/lPzVnz95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Tdf327duZTCadTs/MzGiaNj09nUqlUqlUMplMJpMJ8Bl2XNgxmp6e1jRtZmYmnU5nMpnbt2/rup7L5QqFguXCwHJ9jAwYxTCMfD4/Pz8/NzcnlnDr1i1N01gPPAnwD3Zc2DG6deuW2MDc3Nz8/Dx7q5T/4Mzh+hgZKKVSyVJCNpudnZ1Np9O8B0YD3+AHhc3+dDo9OzubzWbbGyiXy5YzImTQTllYWCgWi7wEXdd5DJlMZnZ2licBfsOOTiaT4QHous4bEK8KnM+IkIFSLpfFEnK5nBgD6wF8ix0jHkAulxMb4FcFtksBLgw4ZWlpiZXAzo4KhQKPgfXAzYFviMeFHSkWQKFQYOdCvAF2OoSlwJmyvLy8tLS0uLhYLpdLpVKxWGQrA+uByYEv8QPEZj87dvx6wNJAp6UAGZimqayurq6srCwvLy8uLrIY2MogJgG+xac+XwHYcWTXA5QGkIFpmkqlUuEliCsDs9BQAp/hh4YfLL4CODSApcCWsra2tra2xmMQe2BJgM+xI8VnvxiA2ACWAgfK+vp6tVrlMbAeeBJiGOA34jFiR40dQTEAh3UADXBKrVZjL1a1WuU98CS4VfAZywHiB44dRx6AQwPIgFPu3LnDXqz1hqpgDXxPPF78ILYHgAYcKBsbG+zFqgnWYRcSj6AlADTgTOEv051WNdhVLIfPIQA00E65e/fuRgd3YJfodATbA0ADthTLa9TpBYXdwnbqIwBn1gxASl5PM79T2H+8PkzgPm8n1u6iON/s9aGEze3MRJHbJhkA3AuQAQAyAEAGACYyADCRAYCJDABMZABgIgMAExkAmMgAwEQGACYyADCRAYCJDABMZABgIgMAExkAmKb5f94HPk++1Q6UAAAAAElFTkSuQmCC" alt="" />

 <!doctype html>
<html lang='zh-cn'>
<head>
<title>Hello World!</title>
<link rel='stylesheet' href='css/bootstrap.min.css'>
<script src='js/jquery2.min.js'></script>        //jquery必须在bootstrap.js之前引入
<script src='js/bootstrap.min.js'></script>
</head> <body>
<div class='dropdown'>
<button class='btn btn-primary dropdown-toggle' data-toggle='dropdown' id='dropdownmenu'>Dropdown    //button作为下拉菜单触发器
<span class='caret'></span>
</button>
<ul class='dropdown-menu'>
<li class='dropdown-header'>Number</li>        //菜单标题
<li><a href='#'>One</a></li>
<li class='disabled'><a href='#'>Two</a></li>    //禁用菜单项
<li><a href='#'>Three</a></li>
<li class='divider'></li>    //分隔线
<li><a href='#'>Four</a></li> </ul>
</div>
</body>
</html>

3.按钮组

通过按钮组容器把一组按钮放在同一行里。通过与按钮插件联合使用,可以设置为单选框或多选框的样式和行为。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWEAAADdCAIAAADl4lQ6AAAUU0lEQVR4nO2dS28bx5pA/T9mP8sMEv6Ju9aSgH9ChBngbpwFAcMrTYgEMKw9AcUIEkPZXFwEiONrU2YkS9QrtgfjtiS3RNMSRbJJ0RKlkZmkZ1FkqfpVIqUm+6FzUIDJYnezq7vr6Kuv6a5bj1/8j295vvlu9W3tVeVoq36exFI29p+s/O8vS6+DStIbGFbZaZzvtT5VWp+26ueV1qdK69NO43yn0X8tKvdan3Ya0e/q1Urqr4RX//bvQ5arbf9W5C2kUChxLjiCQqHoCo6gUCi6giMoFIqu4AgKhaIrt378dYNCoVCCyq1VuGHkYQgePHjw6NGjVqtl33huRfv1q6ur0e5AKCSrFfl8/tdff33y5Mm/BjyFp0+fPn36L4Vffvnl0aNH9+/fbzabUZ+xiMERIZCsVuTzeeGFZ8+eFQcswMKCPBrPnj0Tynj06NGPP/4Y9RmLGBwRAslqRT6fF3Z4/vx5qVQqlUq/wQBxQJ4/f76wsPDs2bMnT57Mzs5GfcYiBkeEQLJakc/nFxYWSqXS4uLi0tLSiwHLNxt5HJaWlhYXF3/77bfnz58Xi8V8Ph/1GYsYHBECyWpFPp8Xgnjx4sXKykq5XC6Xy1ElUONGuVxeWVlZXl5eWloSmsAROCIEktWKfD4vBFEul9fW1tbX19fX1zdgY2NjY2N9fX1tbW11dXVlZUVoAkfgiBBIVivy+fzS0tLKyooQxObm5u8wYHNzU5hidXV1eXl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bn0Pd3XvISII24EvpeO3heQFDQnN5SLB0fcIDQXE6SMEC8bHHFDifoahvAZ06WCI8BB1Nc5XM6ELwkcAQA6cAQA6MARAKADRwCADhwBADpwBADoCNMRt2cXfV/jCIDk4usIMV+OyqWzaakzgDtmA8cRAIkm0BHq/N1339iXTcyJIwDSyVCOcE7Mqcys1ReHUvPGVF6/Clh+MPFXqX6x5HzduRaOAIgFw8YRg7fqFJ5qfBEURwQsP2vu2YN6YQfxWp00EEcAxIAh8xHeCYFdNglwRNDys+behYZUJXlCGBwBEClDxRG3S93+hL3zdWdiQuogwBFByzviBXWKYBwBEC+Gy0fIGhwBcMMY0RFhjjVwBEACGHqsod7CCCdniSMAEsAVfkPldy+zn7Po60B9rbv3iSMAYg//XwMAdOAIANCBIwBAB44AAB04AgB04AgA0IEjAEAHjgAAHUl1xBd3/vnFf30f9dEDSD9JdcTnf//pb3f/EfXRA0g/yXPEF3f++fnff/qP6YfLb+uXtw8Arsetz778Llnl8//8/m93/4EgACbDrah3AABiDY4AAB04AgB04AgA0IEjAEAHjgAAHTgCAHTgCADQgSMAQAeOAAAdOAIAdOAIANCBIwBAB44AAB04AgB04AgA0IEjAEAHjgAAHTgCAHTgCADQgSMAQAeOAAAdOAIAdOAIANCBIwBAB44AAB04AgB04AgA0IEjAEAHjgAAHTgCAHTgCADQgSMAQAeOAAAdOAIAdOAIANCBIwBAB44AAB04AgB0/D/jASHdKHtM8wAAAABJRU5ErkJggg==" alt="" />

 <!doctype html>
<html lang='zh-cn'>
<head>
<title>Hello World!</title>
<link rel='stylesheet' href='css/bootstrap.min.css'>
<script src='js/jquery2.min.js'></script>
<script src='js/bootstrap.min.js'></script>
</head> <body>
//可以用btn-group-lg{sm,xs}控制按钮的大小,btn-group-vertical{justified}控制排列
<div class='btn-group'>
<button class='btn btn-default'>Left</button>
<button class='btn btn-default'>Middle</button>
<button class='btn btn-default'>Right</button>
<div class='btn-group'>
<button class='btn btn-default dropdown-toggle' data-toggle='dropdown'>Dropdown
<span class='caret'></span>
</button>
<ul class='dropdown-menu'>
<li><a href='#'>One</a></li>
<li><a href='#'>Two</a></li>
<li><a href='#'>Three</a></li>
</ul>
</div>
</div>
<hr />
<div class='btn-group btn-group-vertical'>
<button class='btn btn-primary'>Top</button>
<button class='btn btn-primary'>Middle</button>
<button class='btn btn-primary'>Bottom</button>
</div>
</body>
</html>

4. 输入框组

通过在文本输入框<input>前面、后面或是两边加上文字或按钮,可以实现对表单控件的扩展。为.input-group赋予.input-group-addon类,可以给.form-control的前面或后面添加额外的元素。只支持<input>。额外的元素可以是单选框、多选框、按钮或下拉菜单。

 <!doctype html>
<html lang='zh-cn'>
<head>
<title>Hello World!</title>
<link rel='stylesheet' href='css/bootstrap.min.css'>
<script src='js/jquery2.min.js'></script>
<script src='js/bootstrap.min.js'></script>
</head> <body>
<div class='input-group'>
<span class='input-group-addon'>@</span>
<input type='text' class='form-control' placeholder='Username'>
</div>
<div class='input-group'>
<input type='text' class='form-control' placeholder="Recipient's username">
<span class='input-group-addon'>@example.com</span>
</div>
<div class='input-group'>
<span class='input-group-addon'>$</span>
<input type='text'class='form-control'>
<span class='input-group-addon'>.00</span>
</div> <div class='row'>
<div class='col-lg-6'>
<div class='input-group'>
<span class='input-group-addon'>
<input type='checkbox'>
</span>
<input type='text' class='form-control'>
</div>
</div>
<div class='col-lg-6'>
<div class='input-group'>
<span class='input-group-addon'>
<button class='btn btn-default'>Go!</button>
</span>
<input type='text' class='form-control' placeholder='Search for...'>
</div>
</div>
</div>
</body>
</html>

5.导航

Bootstrap 中的导航组件都依赖同一个 .nav 类,状态类也是共用的。改变修饰类可以改变样式。

 <!doctype html>
<html lang='zh-cn'>
<head>
<title>Hello World!</title>
<link rel='stylesheet' href='css/bootstrap.min.css'>
<script src='js/jquery2.min.js'></script>
<script src='js/bootstrap.min.js'></script>
</head> <body>
//标签页
<ul class='nav nav-tabs'>
<li class='active'><a href='#'>Home</a></li>
<li><a href='#'>Profile</a></li>
<li><a href='#'>Messages</a></li>
</ul> //胶囊式标签页
<ul class='nav nav-pills'>
<li class='active'><a href='#'>Home</a></li>
<li><a href='#'>Profile</a></li>
<li><a href='#'>Messages</a></li>
</ul> //垂直胶囊式标签页
<ul class='nav nav-pills nav-stacked'>
<li class='active'><a href='#'>Home</a></li>
<li><a href='#'>Profile</a></li>
<li><a href='#'>Messages</a></li>
</ul> //带下拉菜单的标签页
<ul class='nav nav-tabs'>
<li class='active'><a href='#'>Home</a></li>
<li><a href='#'>Profile</a></li>
<li class='dropdown'>
<a class='dropdown-toggle' data-toggle='dropdown' href='#'>
Dropdown <span class='caret'></span>
</a>
<ul class='dropdown-menu'>
<li><a href='#'>One</a></li>
<li><a href='#'>Two</a></li>
</ul>
</li>
</ul>
</body>
</html>

6. 导航条

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAz8AAABhCAIAAAB3W4gOAAAMzklEQVR4nO3dsU7bWhyA8ftOfRY23qEjc6cOzAyVkMVSqVsqRUIdOlwLqRNSnQlxuUi9tGA8ECigtCGtegfH9rF97Bwn9vn7mO+3lBgTnJPE/jhO0r/+AAAAwB1/SW8AAAAAGqDeAAAAXEK9AQAAuIR6AwAAcAn1BgAA4JKV9RaM9/b29t76F7pvXvhvtd+68N/u7Y2DFrYPAAAAKk29Xfhv92qlvRZH2nhc+hb1BgAA0I2qequZbEu/lzZaME5bLZ6NC6g3AACATtTUWzBOQi37Sq23eI5uHKiTdWO/vt7i87B0HQAAwJqqX/d2cXGxjLXxWDcZF4fY3ji48N+mDUe9AQAAdKqq3oLxXu5saHW9+cspuOycKWdOAQAAulJRb9nEm3+RKzlllSDw44CLJ+f2Cg1HvQEAALRPU2+B8h5SvaTLlHcrJIVHvQEAAHTJ8PPe9C9WS+stfQPDqnrjdW8AAAAbqau3JNyWNVb4sLc/ab2Vk6zy896oNwAAgI3o6i37BJBSZgVjNeCCcfJhvdmK6Q+TaAAAAO3j/zkFAABwCfUGAADgEuoNAADAJdQbAACAS6g3AAAAl1BvAAAALq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vLzs7EAJV11dXZ2dnRUeKldXV9Lb1YIwDAs3DRiqkHqrIRxlxqTHCX308PDw+fPny8vLYUyrYHPz+fzq6urz58/39/flh0oYhovFQnob17RYLKIoKt80YKhC6q2GcJQZkx4n9NTDw8PZ2VkQBMfA8XEQBP/884+2b1x/qNTcNGCQQuqthnSVmZIeJwAAYE9IvdWQrjJT0uMEAADsCam3GtJVZkp6nAAAgD0h9VZDuspMSY8TAACwJ6TeakhXmSnpcQIAAPaETevt+vp6NptJb7Yl0lVmSnqcAACAJbPZLIqiZvV2c3Nzd3cnveWWSFeZKelxAgAAltzd3d3c3DSrt8VicX19fXt7+xxm4KSrzJT0OAEAgM79+PHj+/fv19fXT09PzeotDribm5soiqSjBQAA4LmIoujm5qY+3SrrDQAAAP1EvQEAALiEegMAAHAJ9QYAAOAS6g0AAMAl1BsAAIBLqDcAAACXUG8AAAAuod4AAABcQr0BAAC4hHoDAABwCfUGAADgkv8BKBKtSrher9AAAAAASUVORK5CYII=" alt="" />

 <!doctype html>
<html lang='zh-cn'>
<head>
<title>Hello World!</title>
<link rel='stylesheet' href='css/bootstrap.min.css'>
<script src='js/jquery2.min.js'></script>
<script src='js/bootstrap.min.js'></script>
</head> <body>
<nav class='navbar navbar-inverse'>
<div class='container'>
<div class='navbar-header'>
<button class='navbar-toggle collapse' data-toggle='collapse' data-target='#bs-example-navbar-collapse-1'>
<span class='sr-only'>Toggle navigation</span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
</button>
<a class='navbar-brand' href='#'>Brand</a>
</div> <div class='collapse navbar-collapse' id='bs-example-navbar-collapse-1'>
<ul class='nav navbar-nav'>
<li class='active'><a href='#'>Link <span class='sr-only'>(current)</span></a></li>
<li><a href='#'>Link</a></li>
<li class='dropdown'>
<a href='#' class='dropdown-toggle' data-toggle='dropdown'>Dropdown <span class='caret'></span></a>
<ul class='dropdown-menu'>
<li><a href='#'>Action</a></li>
<li><a href='#'>Another Action</a></li>
</ul>
</li>
</ul>
<form class='navbar-form navbar-left'>
<div class='form-group'>
<input type='text' class='form-control' placeholder='Search'>
</div>
<button type='submit' class='btn btn-default'>Submit</button>
</form>
<ul class='nav navbar-nav navbar-right'>
<li><a href='#'>Link</a></li>
<li class='dropdown'>
<a href='#' class='dropdown-toggle' data-toggle='dropdown'>Dropdown <span class='caret'></span></a>
<ul class='dropdown-menu'>
<li><a href='#'>Action</a></li>
<li><a href='#'>Another Action</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
</body>
</html>

7. 路径导航

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdQAAADCCAIAAAB/vaQJAAAJSUlEQVR4nO3dv04i3R/A4b0n78YbMSHxCoilDQmx2hYLYuxECzoLsoFss42W249A4/srhvk/wLgrfPcnzxMLGA6zx+bDec+ML9/+A+DovkVPAOAUiS9AAPEFCCC+AAHEFyCA+AIEEF+AAOILEGBbfGfj6+vr6+9Pr20vvj59b33p9en79fV49pnzA/iSivi+Pn2/3inPbdrY8bjxkvgCdFOL746lbv5antjZOE9tuhaeiS9AJ834zsZZZ4tH5fimK+TxrLxUHj/tjm+6iSHLABuNPd/X19dNa8fjtqVw2tHr8ez16XueYPEF+JBafGfj68pWwvb4Pm0WwMWGg20HgK6q8S2WvU+vlRCXhsxmT2l/06XxdS3B4guwXxHfWenuhXZZVksX2rJAiy/AR+y+z7d9ozaPb37tbV987fkCVLTEN+vuJqa1m3z/y+PbLOrW+3zFF6CiFN/i1rFGJWfjcn9n4+xvLIqB+ZsVFmA//28HgADiCxBAfAECiC9AAPEFCCC+AAHEFyCA+AIEEF+AAOILEEB8AQKIL0AA8QUIIL4AAcQXIEAlvu/v7+v1egnAgX0rl/ft7S0B4PCK+K7X6+jJAJyKIr7L5TJ6MgCnoohv9EwAToj4AgQQX4AA4gsQQHwBAogvQADxBQggvgABxBcgwB/Hdz7qXwwn1WOT4UXjGABN4gsQ4IDxnQwvNvqjeflN+QvDSTIf9YsnzXdqOfA1HSq+k2H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ef1aba6VJh8oH2tvyRRWUzt3i5P5oXXd7cXTacbB8CHJ8/Lz6U2e3Dx/ZPgFMivgfyMrjqcocycKLE9wAep102TIBTJr4AAcQXIID4AgQQX4AA4gsQQHwBAhTxXS6X0ZMBOBVFfFerVfRkAE5FEd/39/foyQCciiK+aX9Xq9Xb21v0rAC+uEp8ATgO8QUIIL4AAcQXIID4AgQQX4AA4gsQQHwBAogvQADxBQggvgAB/gd1hy+L9I8SygAAAABJRU5ErkJggg==" alt="" />

 <!doctype html>
<html lang='zh-cn'>
<head>
<title>Hello World!</title>
<link rel='stylesheet' href='css/bootstrap.min.css'>
<script src='js/jquery2.min.js'></script>
<script src='js/bootstrap.min.js'></script>
</head> <body>
<ol class='breadcrumb'>
<li><a href='#'>Home</a></li>
<li><a href='#'>Library</a></li>
<li class='active'>Data</a></li>
</ol>
</body>
</html>

Bootstrap3组件--1的更多相关文章

  1. Bootstrap3组件--2

    目录 1. 分页 2. 标签 3. 徽章 4. 巨幕 5. 页头 6. 缩略图 7. 警告框 8. 进度条 9. 列表组 10. 面板 11.Well 1. 分页 <!doctype html& ...

  2. 看过的bootstrap书籍(附下载地址)

    http://yun.baidu.com/share/link?shareid=3820784617&uk=1008683945 以下书籍下载地址. <BootStrap入门教程> ...

  3. Bootstrap3写的红色警告框样式组件

    用的是BT3的类和fa的图标 <!DOCTYPE html><html><head lang="en">    <meta charset ...

  4. JS组件系列——Bootstrap组件福利篇:几款好用的组件推荐(二)

    前言:上篇 JS组件系列——Bootstrap组件福利篇:几款好用的组件推荐 分享了几个项目中比较常用的组件,引起了许多园友的关注.这篇还是继续,因为博主觉得还有几个非常简单.实用的组件,实在不愿自己 ...

  5. 使用外部web组件-----easyUI、jQueryUI、Bootstrap、js正则表达式

    1.使用外部web组件,以Bootstrap为例 <head> <link rel='stylesheet'  href='bootstrap-3.3.0-dist/dist/css ...

  6. JS组件系列——表格组件神器:bootstrap table

    前言:之前一直在忙着各种什么效果,殊不知最基础的Bootstrap Table用法都没有涉及,罪过,罪过.今天补起来吧.上午博主由零开始自己从头到尾使用了一遍Bootstrap Table ,遇到不少 ...

  7. 《深入理解bootstrap》读书笔记:第4章 CSS组件(上)

    bootstrap三大核心之二. 包括glyphicon图标,下拉菜单(dropdown),按钮组(button group)....等等. 一. 图标字体 bootstrap3提供了200多个免费图 ...

  8. php + Bootstrap-v3-Typeahead 自动完成组件的使用

    Bootstrap 中的 Typeahead 组件就是通常所说的自动完成 AutoComplete,类似百度.谷歌等搜索提示:输入关键词出现相应的下拉列表数据. 是Bootstrap-3-Typeah ...

  9. React+BootStrap+ASP.NET MVC实现自适应和组件的复用

    系统展示如下 1.前端采用bootstrap3进行架构 2.后端采用asp.net mvc进行开发 开发工具vs2010 mvc4需要安装sp1的补丁. 3.js组件的封装采用react 1.新建mv ...

随机推荐

  1. NGINX快速部署

    NGINX快速部署 #!/bin/bash ############################################################################## ...

  2. 如何在shell中处理异常(转)

    似乎好像大概有句话是这么说得,好程序与坏程序之间的区别就在于它的鲁棒性,也就是在异常情况下该程序是否还是在可hold住状态,能否不死,不崩溃,或者不做出一些超出预期的事情.那要做好这些,自然而然就要学 ...

  3. 在PC端或移动端应用中接入商业QQ

    前两天在做一个项目XXX的时候,遇见一个问题,在页面中需要接入企业的QQ,在查找腾讯API后无果,则请求人工服务,然后人家给一网址(就是API接口),然后你只需要登录你的QQ,然后选择相应的显示类型, ...

  4. Android开发:《Gradle Recipes for Android》阅读笔记1.2

    在android开发中会需要配置使用app的android SDK的最低版本和目标版本,这个是bulidl.gradle的android模块设置.默认有以下几个设置: applicationId,这个 ...

  5. Python操作yaml文件

    基本的yaml语法 http://ansible-tran.readthedocs.io/en/latest/docs/YAMLSyntax.html YAML 还有一个小的怪癖. 所有的 YAML ...

  6. ubuntu虚拟化平台libvrit-bin

    http://download.cirros-cloud.net/0.3.5/ 下载 cirros-0.3.5-x86_64-disk.img 因为 KVM(准确说是 Libvirt)默认不接受远程管 ...

  7. POI1999(仓库管理员)

    题目链接:传送门

  8. EasyPlayer.js网页全终端播放器安装使用文档

    EasyPlayer.js 集 rtmp, hls, flv, websocket 于一身的网页直播/点播播放器, 使用简单, 功能强大 属性(Property) video-url 视频流地址 St ...

  9. 使用MyBatis_Generator工具jar包自动化生成Dto、Dao、Mapping 文件

    由于MyBatis属于一种半自动的ORM框架,所以主要的工作将是书写Mapping映射文件,但是由于手写映射文件很容易出错,所以查资料发现有现成的工具可以自动生成底层模型类.Dao接口类甚至Mappi ...

  10. Python菜鸟之路:DOM基础

    前言 DOM 是 Document Object Model(文档对象模型)的缩写,定义了访问和操作 HTML 文档的标准方法.DOM把网页和脚本以及其他的编程语言联系了起来.DOM属于浏览器,而不是 ...