bootstrap表格样式

<!DOCTYPE html>
<html>
    head>
        meta charset="utf-8" />
        name="viewport" content="width=device-width,initial-scale=1"title>我是中国人</>

        <!-- 新 Bootstrap 核心 CSS 文件 -->
        link href="css/bootstrap.min.css" rel="stylesheet" 最新的 Bootstrap 核心 JavaScript 文件 script src="js/bootstrap.min.js"></script="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"bodytable border="" cellspacing cellpadding class="table table-bordered table-hover table-striped table-condensed">
            tr>
                th>名称>数量>单价td>玉米>10>3>大豆>20>60table>

image

table:表格的基类,其他样式都基于table

table-bordered:给表格加外边框

table-hover:鼠标悬停变色

table-striped:斑马线效果,隔行换色

table-condensed:紧凑布局

相关文章

前端工程师一般用的是Bootstrap的框架而不是样式,样式一般自...
起步导入:<linkrel="stylesheet"href="b...
(1)modal声明一个模态框(2)modal-dialog定义模态框尺寸(...
图片在Bootstrap版本3中,通过为图片添加 .img-responsive ...
<inputtype="text"class="form-controlda...
目录bootstrap-treeview使用小记零、写在前面的话一、功能说...