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