HTML +css
單純的html和css寫不出來吧?
單純的html和css寫不出來吧?
http://qinya.iteye.com/blog/1836637主要是表頭的斜線怎么寫,用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;} 項目 各區(qū)
斜線可以用背景圖片或者CSS3搞定
三種做法:1.用圖片弄,2.CSS3 2D 轉(zhuǎn)換 3.文字圖標,插入為斜線的字體。
聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com