<!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>
table:表格的基类,其他样式都基于table
table-bordered:给表格加外边框
table-hover:鼠标悬停变色
table-striped:斑马线效果,隔行换色
table-condensed:紧凑布局
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。