日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

table 的表头

發(fā)布時(shí)間:2024/9/5 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 table 的表头 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

先來看一下效果圖:

全部代碼如下:

<!DOCTYPE html> <html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta content="ie=edge"><title>table 神奇的表頭</title><style>table {border-collapse: collapse;}table,tr,td {border: 1px solid black;}td {text-align: center;height: 50px;position: relative;}td[class=first] {width: 100px;}td[class=first]:before {content: "";position: absolute;width: 1px;height: 104px;top: 25px;left: 0;background-color: #000;display: block;transform: rotate(-75deg);transform-origin: top;-ms-transform: rotate(-75deg);-ms-transform-origin: top;}td[class=first]:after {content: "";position: absolute;width: 1px;height: 75px;top: 0;left: 50px;background-color: #000;display: block;transform: rotate(-45deg);transform-origin: top;-ms-transform: rotate(-45deg);-ms-transform-origin: top;}.title1 {position: absolute;top: 3px;right: 3px;}.title2 {position: absolute;top: 5px;left: 12px;}.title3 {position: absolute;top: 32px;left: 3px;}</style> </head><body><table><tr><td class="first" colspan="2"><span class="title1">產(chǎn)品</span><span class="title2">銷量</span><span class="title3">地區(qū)</span></td><td>蘋果</td><td>華為</td><td>小米</td></tr><tr><td>1</td><td>北京</td><td></td><td></td><td></td></tr><tr><td>2</td><td>天津</td><td></td><td></td><td></td></tr></table> </body></html>

?

轉(zhuǎn)載于:https://www.cnblogs.com/likwin/p/10116149.html

總結(jié)

以上是生活随笔為你收集整理的table 的表头的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。