今天在浏览几个海外前端博客时候,看到以下7款颜色CSS表格样式的整理还是比较好的,尤其是需要在网页中添加表格时候,看似简单的样式,但是在需要使用的时候就直接复制,节省很多时间。

第一种:

CSS表格样式之一

CSS样式代码部分:

/* Border styles */

#table-1 thead, #table-1 tr {

border-top-width: 1px;

border-top-style: solid;

border-top-color: rgb(230, 189, 189);

}

#table-1 {

border-bottom-width: 1px;

border-bottom-style: solid;

border-bottom-color: rgb(230, 189, 189);

}

/* Padding and font style */

#table-1 td, #table-1 th {

padding: 5px 10px;

font-size: 12px;

font-family: Verdana;

color: rgb(177, 106, 104);

}

/* Alternating background colors */

#table-1 tr:nth-child(even) {

background: rgb(238, 211, 210)

}

#table-1 tr:nth-child(odd) {

background: #FFF

}

第二种:

CSS表格样式之二

CSS样式代码部分:

/* Border styles */

#table-2 thead, #table-2 tr {

border-top-width: 1px;

border-top-style: solid;

border-top-color: rgb(230, 189, 189);

}

#table-2 {

border-bottom-width: 1px;

border-bottom-style: solid;

border-bottom-color: rgb(230, 189, 189);

}

/* Padding and font style */

#table-2 td, #table-2 th {

padding: 5px 10px;

font-size: 12px;

font-family: Verdana;

color: rgb(177, 106, 104);

}

/* Alternating background colors */

#table-2 tr:nth-child(even) {

background: rgb(238, 211, 210)

}

#table-2 tr:nth-child(odd) {

background: #FFF

}

第三种:

CSS表格样式之三

CSS样式代码部分:

/* Border styles */

#table-3 thead, #table-3 tr {

border-top-width: 1px;

border-top-style: solid;

border-top-color: rgb(235, 242, 224);

}

#table-3 {

border-bottom-width: 1px;

border-bottom-style: solid;

border-bottom-color: rgb(235, 242, 224);

}

/* Padding and font style */

#table-3 td, #table-3 th {

padding: 5px 10px;

font-size: 12px;

font-family: Verdana;

color: rgb(149, 170, 109);

}

/* Alternating background colors */

#table-3 tr:nth-child(even) {

background: rgb(230, 238, 214)

}

#table-3 tr:nth-child(odd) {

background: #FFF

}

第四种:

CSS表格样式之四

CSS代码样式部分:

/* Border styles */

#table-4 thead, #table-4 tr {

border-top-width: 1px;

border-top-style: solid;

border-top-color: rgb(211, 202, 221);

}

#table-4 {

border-bottom-width: 1px;

border-bottom-style: solid;

border-bottom-color: rgb(211, 202, 221);

}

/* Padding and font style */

#table-4 td, #table-4 th {

padding: 5px 10px;

font-size: 12px;

font-family: Verdana;

color: rgb(95, 74, 121);

}

/* Alternating background colors */

#table-4 tr:nth-child(even) {

background: rgb(223, 216, 232)

}

#table-4 tr:nth-child(odd) {

background: #FFF

}

第五种:

CSS表格样式之五

CSS代码样式部分:

/* Table Head */

#table-5 thead th {

background-color: rgb(156, 186, 95);

color: #fff;

border-bottom-width: 0;

}

/* Column Style */

#table-5 td {

color: #000;

}

/* Heading and Column Style */

#table-5 tr, #table-5 th {

border-width: 1px;

border-style: solid;

border-color: rgb(156, 186, 95);

}

/* Padding and font style */

#table-5 td, #table-5 th {

padding: 5px 10px;

font-size: 12px;

font-family: Verdana;

font-weight: bold;

}

第六种:

CSS表格样式之六

CSS样式代码部分:

/* Table Head */

#table-6 thead th {

background-color: rgb(128, 102, 160);

color: #fff;

border-bottom-width: 0;

}

/* Column Style */

#table-6 td {

color: #000;

}

/* Heading and Column Style */

#table-6 tr, #table-6 th {

border-width: 1px;

border-style: solid;

border-color: rgb(128, 102, 160);

}

/* Padding and font style */

#table-6 td, #table-6 th {

padding: 5px 10px;

font-size: 12px;

font-family: Verdana;

font-weight: bold;

}

第七种:

CSS表格样式之七

php网页表格样式,分享7款颜色的CSS表格样式美化网页表格用户体验相关推荐

  1. 分享7款颜色的CSS表格样式美化网页表格用户体验

    原文出处:http://www.laozuo.org/4631.html 老左并不是一名网页设计师,但是经常在博客上捣鼓.修改一些自认为不太好的用户体验也仅仅局限在修改一些简单的CSS样式上,遇到不能 ...

  2. CSS系列之美化网页/span标签和div标签/字体样式/文本样式

    CSS系列之美化网页/span标签和div标签/字体样式/文本样式 01 span标签和div标签 span标签的作用 能让几个文字或者某个词语凸显出来 属于行内元素 div标签 属于块级元素 程序示 ...

  3. 二十款漂亮的CSS字体样式,让你受用非浅

    二十款漂亮的CSS字体样式,让你受用非浅 平时对于网站整站的字体风格常常很纠结,纠结到底用什么样式才行,才好看,后来在网上搜集收到二十种我认为很漂亮的字体样式并使用,感觉很美观,解决了我以前的纠结.具 ...

  4. HTML5期末大作业:动漫网页主题设计——卡通漫画教育首页HTML+CSS+JavaScript 动漫网页HTML代码 学生网页课程设计期末作业下载 动漫大学生网页设计制作成...

    HTML5期末大作业:动漫网页主题设计--卡通漫画教育首页HTML+CSS+JavaScript 动漫网页HTML代码 学生网页课程设计期末作业下载 动漫大学生网页设计制作成 临近期末, 你还在为HT ...

  5. HTML5期末大作业:动漫网页主题设计——卡通漫画教育首页HTML+CSS+JavaScript 动漫网页HTML代码 学生网页课程设计期末作业下载 动漫大学生网页设计制作成

    HTML5期末大作业:动漫网页主题设计--卡通漫画教育首页HTML+CSS+JavaScript 动漫网页HTML代码 学生网页课程设计期末作业下载 动漫大学生网页设计制作成 临近期末, 你还在为HT ...

  6. HTML5期末大作业:校园篮球网页网站设计源码(5页) HTML+CSS+JavaScript 大学生体育运动网页设计模板代码 校园篮球网页作业成品 学校篮球网页制作模板 学生简单体育运动网站设计成品

    HTML5期末大作业:校园篮球网页网站设计源码(5页) HTML+CSS+JavaScript 学生DW网页设计作业成品 web课程设计网页规划与设计 web学生网页设计作业源码 常见网页设计作业题材 ...

  7. 分享10款漂亮的css按钮源码

    1.Plastic Buttons 地址:https://codepen.io/ben_jammin/pen/syaCq 这组按钮设计很干净,它们有许多不同的颜色和尺寸,你可以轻松地重新设计这些按钮. ...

  8. 分享10款漂亮的 CSS 按钮源码

    翻译 | web前端开发 英文原文 | https://1stwebdesigner.com/free-code-snippets-css-buttons/ 网页设计师已经不必再依赖 Photosho ...

  9. 纯前端表格控件SpreadJS V12.1 隆重登场,专注易用性,提升用户体验

    ​ 一款优秀的开发工具,在更新迭代中,除了要满足不同场景的业务需求,也需不断优化已有功能,尤其是细节方面,要能为用户带来使用体验和开发效率的提升. 作为一款备受业界专家和开发者认可的纯前端类Excel ...

  10. css改变滚动条样式兼容火狐_jq完美解决css滚动条样式IE火狐不兼容问题

    上次关于css滚动条样式的文章<美化css滚动条样式,就这么简单>,不够完美不兼容IE.火狐浏览器,但今天这篇文章可以完美解决这个问题,用到了jquery插件jquery.mCustomS ...

最新文章

  1. Qt5 和 Qt4 的一些改动和不同
  2. 从使用“List list = new ArrayList()”而不是“ArrayList list = new ArrayList()”看面向接口编程
  3. hibernate 向数据库里设置了默认值的字段添加数据为null时失效的问题
  4. oracle数据库存储函数,Oracle数据库存储过程
  5. 关于MATLAB2014b不能并行计算的原因及解决方法
  6. 第6章 数据库索引优化
  7. 用java实现学生管理系统
  8. jquery 输入框,单选按钮,下拉列表和复选框的使用
  9. php微积分难吗,两句话让你学好微积分
  10. ov5640帧率配置_OV5640摄像头的数据处理配置流程(一)
  11. 如何认识会计科目,看懂财务报表
  12. 精选数据分析师常见的面试问题2020
  13. 一个USB设备超过其集线器端口的电源限制
  14. QQ微云图标升级方法 空间免费扩容攻略
  15. jupyter notebook 代码自动补全 加 显示变量功能 以及让3d图片可以旋转
  16. java微信分享demo
  17. 台式计算机如何连接手机热点上网,台式机如何使用手机热点上网
  18. html 控制横向打印机,hp LaserJet 1000打印机怎么设置实现横向打印?
  19. 将dwg文件转为shp文件
  20. 谷氨酰胺合成酶(Glutamine synthetase,GS)试剂盒说明书

热门文章

  1. cmd-ssh使用说明
  2. PDF417二维条码生成器 C++
  3. 数据库原理mysql课堂超星尔雅_超星尔雅数据库原理网课答案
  4. Web前端开发技术第三版课后练习答案
  5. cad快看_CAD快速看图可以图纸对比吗?可以!
  6. AutoLayout源码解析(1)
  7. Nachos 用户进程地址分配
  8. 【JAVA】-- 坦克大战全部代码
  9. 修改Linux里的hosts文件
  10. 自己的阿里云镜像加速器查找