1. 用div当作圆

<div  style="border: 1px solid blue;height: 100px; width: 100px; border-radius: 200px">div圆圈</div>

2. 用bootstrap实现的表格: 标题固定,表内容可滚动

CSS:

.single-table-wrapper{
height: 85vh;
width: %;
margin-bottom: 0px;
border: 1px solid #ddd;
} .single-table-wrapper tbody{
height: 80vh;
overflow-y:auto;
width: %;
} .single-table-wrapper thead,
.single-table-wrapper tr,
.single-table-wrapper th,
.single-table-wrapper tbody,
.single-table-wrapper tr,
.single-table-wrapper td{
display:block;
} .single-table-wrapper tbody td{
float:left;
} .single-table-wrapper thead tr th{
float:left;
}
HTML:
<div class="single-table-wrapper"> <table class="table table-hover">
<thead>
<tr>
<th class="col-xs-1 col-sm-1 col-mg-1 col-lg-1">序号</th>
<th class="col-xs-1 col-sm-1 col-mg-1 col-lg-1">标题1</th>
<th class="col-xs-1 col-sm-1 col-mg-1 col-lg-1">标题1</th>
<th class="col-xs-1 col-sm-1 col-mg-1 col-lg-1">标题1</th>
<th class="col-xs-2 col-sm-2 col-mg-2 col-lg-2">标题1</th>
<th class="col-xs-1 col-sm-1 col-mg-1 col-lg-1">标题1</th>
<th class="col-xs-1 col-sm-1 col-mg-1 col-lg-1">标题1</th>
<th class="col-xs-1 col-sm-1 col-mg-1 col-lg-1">允许搭乘</th>
<th class="col-xs-1 col-sm-1 col-mg-1 col-lg-1">状态</th>
<th class="col-xs-2 col-sm-2 col-mg-2 col-lg-2">&nbsp;
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="i in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ,13 ,14, 15]">
<td class="col-xs-1 col-sm-1 col-mg-1 col-lg-1"></td>
<td class="col-xs-1 col-sm-1 col-mg-1 col-lg-1"></td>
<td class="col-xs-1 col-sm-1 col-mg-1 col-lg-1"></td>
<td class="col-xs-1 col-sm-1 col-mg-1 col-lg-1"></td>
<td class="col-xs-2 col-sm-2 col-mg-2 col-lg-2"></td>
<td class="col-xs-1 col-sm-1 col-mg-1 col-lg-1"></td>
<td class="col-xs-1 col-sm-1 col-mg-1 col-lg-1"></td>
<td class="col-xs-1 col-sm-1 col-mg-1 col-lg-1"></td>
<td class="col-xs-1 col-sm-1 col-mg-1 col-lg-1"></td>
<td class="col-xs-2 col-sm-2 col-mg-2 col-lg-2">
<a class="btn btn-primary btn-xs">查看</a>
</td>
</tr> </tbody>
</table> </div>

常用到的html页面布局和组件: 自己用的更多相关文章

  1. 13Flutter页面布局 Wrap组件

    /* Flutter页面布局Wrap组件: Wrap可以实现流布局,单行的Wrap跟Row表现几乎一致,单列的Wrap则跟Row表现几乎一致. 但Row与Column都是单行单列的.Wrap则突破了这 ...

  2. 页面布局 Wrap 组件 和 RaisedButton按钮

    一.RaisedButton 定义一个按钮 Flutter 中通过 RaisedButton 定义一个按钮.RaisedButton 里面有很多的参数,只讲简单的进行使用. return Raised ...

  3. 046——VUE中组件之使用动态组件灵活设置页面布局

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  4. 11Flutter页面布局 Stack层叠组件 Stack与Align Stack与Positioned实现定位布局

    /* Flutter 页面布局 Stack层叠组件: Stack与Align Stack与Positioned实现定位布局: Flutter Stack组件: Stack表示堆得意思,我们可以用Sta ...

  5. 10Flutter页面布局 Padding Row Column Expanded组件详解:

    Padding组件: main.dart import 'package:flutter/material.dart'; import 'res/listData.dart'; /* flutter页 ...

  6. 【Flutter学习】页面布局之基础布局组件

    一,概述 Flutter中拥有30多种预定义的布局widget,常用的有Container.Padding.Center.Flex.Row.Colum.ListView.GridView.按照< ...

  7. 《React后台管理系统实战 :二》antd左导航:cmd批量创建子/目录、用antd进行页面布局、分离左导航为单独组件、子路由、动态写左导航、css样式相对陷阱

    一.admin页面布局及路由创建 0)cmd批量创建目录及子目录 //创建各个目录,及charts和子目录bar md home category product role user charts\b ...

  8. css书写规范 & 页面布局规范 &常用案例经验总结

    CSS 属性书写顺序(重点) 建议遵循以下顺序: 布局定位属性:display / position / float / clear / visibility / overflow(建议 displa ...

  9. 页面布局常用,让子级div排排坐

    画页面的时候经常遇到页面布局的问题,父级div包裹多个子div很常见,代码如下: <div> <div style='width:100px;height: 100px;backgr ...

随机推荐

  1. java并发编程笔记3-同步容器&并发容器&闭锁&栅栏&信号量

    一.同步容器: 1.Vector容器实现了List接口,Vector实际上就是一个数组,和ArrayList类似,但是Vector中的方法都是synchronized方法,即进行了同步措施.保证了线程 ...

  2. MySQL通过localhost无法连接数据库的解决

    问题:一台服务器的PHP程序通过localhost地址无法连接数据库,但是如果设置为127.0.0.1则可以正常连接,连接其他数据库服务器也正常.MySQL的权限设置正确,且通过mysql命令行客户端 ...

  3. vxWorks驱动架构

    Vxworks内核驱动基本结构: 三张表:1. 系统设备表  2. 系统驱动表 3. 文件描述符表     Vxworks 内部对每个设备使用DEV_HDR 数据结构进行表示: Typedef str ...

  4. JSP标签c:forEach报错(一)

    1.jsp标签c:forEach报错,具体错误如下: 三月 31, 2014 9:31:14 下午 org.apache.catalina.core.StandardWrapperValve invo ...

  5. Error Code: 1318. Incorrect number of arguments for PROCEDURE student.new_procedure; expected 0, got

    1.错误描述 13:58:20 call new_procedure('2000','zhangsan') Error Code: 1318. Incorrect number of argument ...

  6. Exception in thread "main" java.lang.IllegalArgumentException

    1.错误描述 Exception in thread "main" java.lang.IllegalArgumentException: Cannot format given ...

  7. Java和Flex整合报错(二)

    1.错误原因 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help ...

  8. freemarker处理map的数据(二十)

    1.简易说明 (1)map取值 (2)key取值 2.实现示例 <html> <head> <meta http-equiv="content-type&quo ...

  9. [翻译] 比较 Node.js,Python,Java,C# 和 Go 的 AWS Lambda 性能

    [翻译] 比较 Node.js,Python,Java,C# 和 Go 的 AWS Lambda 性能 原文: Comparing AWS Lambda performance of Node.js, ...

  10. [JSOI2004]平衡点

    题面在这里 题意 ...见链接吧 sol 在此发一篇模拟退火的题解 不得不说luogu的数据真是太良心啦 一句话解释模拟退火:在一个慢慢缩小的范围内随机状态寻找最优解,当转移状态更优时直接接受,当当前 ...