02 2016 档案
摘要:1.基本用法 将<span> 、<input>用样式为 .input-group 的 <div> 包裹,; <span>的样式为 .input-group-addon ; 当<span> 存放的是<button>时,样式为 .input-group-btn ; <div class="input-g
阅读全文
摘要:<h3>横排</h3> <div class="btn-group" > <button type="button" class="btn btn-danger" >Left</button> <button type="button" class="btn btn-default">Middle<
阅读全文
摘要:1.效果样式 <div class="dropdown"> <button class="btn btn-info" data-toggle="dropdown"> <span class="glyphicon glyphicon-star"></span> 下拉菜单 <span class="ca
阅读全文
摘要:1.样式 2使用 <div class="form-group"> <div class="col-sm-10 col-xs-3"> <button type="button" class="btn btn-default" > <span class="glyphicon glyphicon-se
阅读全文
摘要:1.基本样式 主要四个样式类: 设置布局 .img-responsive : 可以让图片支持响应式布局,从而让图片在其父元素中更好的缩放; 设置形状 .img-rounded : 设置图片为圆角; 设置形状 .img-circle : 设置图片为圆形(照片若是长方形,则是椭圆形,照片若是正方形这是圆
阅读全文
摘要:1.下载Dwr 网址:http://directwebremoting.org/dwr/downloads/index.html 2.创建工程、导入JAR 我下载的是dwrdemo.war。解压后: 从lib文件中获得dwr.jar;放入自己web工程; 3.配置web.xml <?xml vers
阅读全文
摘要:个人学习笔记,记录了一些比较基础的标注; 1、@controller 控制器(注入服务)2、@service 服务(注入dao)3、@repository dao(实现dao访问)4、@component pojo实例化到spring容器中,相当于配置文件中的<bean id="" class=""
阅读全文
摘要:1.可作为按钮使用的标签或元素 虽然按钮类可以应用到 <a> 和 <button>元素上,但是,导航和导航条组件只支持 <button> 元素。 如果 <a> 元素被作为按钮使用 ,并用于在当前页面触发某些功能 , 而不是用于链接其他页面或链接当前页面中的其他部分,那么,务必为其设置 role="b
阅读全文
摘要:1.基本表单 单独的表单控件会被自动赋予一些全局样式。所有设置了 .form-control 类的 <input>、<textarea> 和 <select> 元素都将被默认设置宽度属性为 width: 100%;。 将 label 元素和前面提到的控件包裹在 .form-group 中可以获得最好
阅读全文
摘要:1.基本表格 CSS-->.table <table class="table"> <thead> <td>#</td> <td>姓名</td> <td>国籍</td> <td>电话</td> </thead> <tbody> <tr> <td style="background-color: re
阅读全文
摘要:1.内联代码 For example, <code><section></code> should be wrapped as inline. 2.用户输入 To switch directories, type <kbd>c</kbd> <kbd>d</kbd> followed by the n
阅读全文
摘要:1.标题 : <h1>、<h2> …… <h6> & <small> <h1>h1. Bootstrap <small> heading </small></h1> <h2>h2. Bootstrap <small> heading </small></h2> <h3>h3. Bootstrap <
阅读全文