Css Shaps example
来源:互联网 发布:模架编程流程 编辑:程序博客网 时间:2024/06/12 01:34
五角星:
<html> <head> <style type="text/css"> div[id="stern"] { margin: 50px 0; top:50px; position: relative; display: block; color: red; width: 0px; height: 0px; border-right: 100px solid transparent; border-bottom: 70px solid red; border-left: 100px solid transparent; -webkit-transform: rotate(35deg); } div[id="stern"]:before { border-bottom: 80px solid red; border-left: 30px solid transparent; border-right: 30px solid transparent; position: absolute; height: 0; width: 0; top: -45px; left: -65px; display: block; content: ''; -webkit-transform: rotate(-35deg); } div[id="stern"]:after { position: absolute; display: block; color: red; top: 3px; left: -105px; width: 0px; height: 0px; border-right: 100px solid transparent; border-bottom: 70px solid red; border-left: 100px solid transparent; -webkit-transform: rotate(-70deg); content: ''; } </style> </head> <body> <div id="stern" > </div> <div id="sterns" ></div> </body> </html>
上半圆:
<html> <head> <style type="text/css"> div{ height:45px; width: 90px; border-radius: 90px 90px 0 0; -moz-border-radius: 90px 90px 0 0; -webkit-border-radius: 90px 90px 0 0; background:green; } </style> </head><body> <div id="stern" > </div><div id="sterns" ></div></body></html>
- Css Shaps example
- CSS Shorthand Cheat Sheet by Example
- javafx fxml form javascript css Example
- example
- example
- Example
- example
- Example
- Example
- Example
- Example
- example
- Example
- Example
- TDD example
- CreateJobObject example
- tex example
- CreateThread example
- 第十一章 进程和信号
- 第十二章 POSIX线程
- cocos2d-x 杂记
- 深入剖析MFC中Windows消息处理机制
- 第十三章 进程间通信 管道
- Css Shaps example
- asp.net 中使用Cookie 及 js 中使用Cookie
- 第十四章 信号量共享内存消息队列
- 写入cookie 的过期时间时在GMT或UTC时间格式上的兼容问题
- 第十五章 套接字连接
- 【精心整理】【实用】visual C++中最常用的类与API函数
- uva-152
- linux资源网站和ftp站点!(linux软件下载及学习)
- android_ITelephony_endCall_挂断电话