欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  web前端

求样式大神_html/css_WEB-ITnose

程序员文章站 2022-05-04 22:10:18
...
这样的表头怎么写啊,,急急急


回复讨论(解决方案)

HTML +css

单纯的html和css写不出来吧?

单纯的html和css写不出来吧?

http://qinya.iteye.com/blog/1836637
借用js

主要是表头的斜线怎么写,用JS,css也行

比较妖孽的写法:

.box{position:relative;width:200px;height:200px;}.bg{position:absolute;left:0;bottom:0;width:0;height:0;border:100px solid #000;border-top-color:transparent;border-right-color:transparent;z-index:1;}.bg1{position:absolute;left:0;bottom:0;width:0;height:0;border:99px solid #fff;border-top-color:transparent;border-right-color:transparent;z-index:2;}.txt1{position:absolute;right:0;top:0;width:100px;height:100px;line-height:100px;text-align:center;z-index:3;}.txt2{position:absolute;left:0;bottom:0;width:100px;height:100px;line-height:100px;text-align:center;z-index:3;}
项目
各区

斜线可以用背景图片或者CSS3搞定

三种做法:1.用图片弄,2.CSS3 2D 转换 3.文字图标,插入为斜线的字体。

相关标签: 求样式大神