设为首页 加入收藏

TOP

Beego 学习笔记9:Boostrap使用介绍(三)
2017-12-11 09:18:51 】 浏览:737
Tags:Beego 学习 笔记 Boostrap 使用 介绍
lt;div class="radio">
<label>
<input type="radio" name="blankRadio" id="blankRadio1" value="option1"/>单选A
</label>
<label>
<input type="radio" name="blankRadio" id="blankRadio1" value="option1"/>单选B
</label>
</div>
<select class="form-control">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
<button type="submit" class="btn btn-default">提交</button>
<button type="reset" class="btn btn-primary">重置</button>
</form>
</div>
<!--按钮样式-->
<div class="container" style="margin-top:20px;">
<button type="button" class="btn btn-default">(默认样式)Default</button>
<button type="button" class="btn btn-primary">(首选项)Primary</button>
<button type="button" class="btn btn-success">(成功)Success</button>
<button type="button" class="btn btn-info">(一般信息)Info</button>
<button type="button" class="btn btn-warning">(警告)Warning</button>
<button type="button" class="btn btn-danger">(危险)Danger</button>
<button type="button" class="btn btn-link">(链接)Link</button>
</div>
 
<!--图片形状-->
<div class="container" style="margin-top:20px;">
<img src="/static/img/1.jpg" style="width:200px;height:200px;" class="img-rounded">
<img src="/static/img/2.jpg" style="width:200px;height:200px;" class="img-circle">
<img src="/static/img/3.jpg" style="width:200px;height:200px;" class="img-thumbnail">
</div>
    </body>
</html>

 

 

4>   运行页面效果如下:

1->布局容器

 

2->栅格系统

 

3->Form表单

 

 

 4->按钮样式

5->图片的样式

6->下一章节,将Easyui控件的使用

 

 

 

首页 上一页 1 2 3 下一页 尾页 3/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇GO学习——安装编译(1) 下一篇golang关于一些新手不注意会出现..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目