CSS画一个心
? ?1.心(不支持IE)
代碼:
<!DOCTYPE html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>無標(biāo)題文檔</title> <style type="text/css">.heartLeft{ height:150px; width:100px; background-color:#F00; border-radius:100px 100px 0px 0px;transform:rotate(-45deg); margin-left:135px}.heartRight{ height:150px; width:100px; background-color:#F00; border-radius:100px 100px 0px 0px;transform:rotate(45deg); margin-left:170px; margin-top:-150px} </style> </head> <body> <div class="heartLeft"></div> <div class="heartRight"></div> </body> </html>效果圖
?
2.
轉(zhuǎn)載于:https://www.cnblogs.com/wqb2016/p/5764104.html
總結(jié)
- 上一篇: python基础之文件操作,集合,函数
- 下一篇: [CSS] Use CSS Counte