一种类似护盾绕圆旋转的设计
来源:互联网 发布:餐饮进销存软件 编辑:程序博客网 时间:2024/05/22 13:57
效果:
index.html
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>test</title><link rel="stylesheet" type="text/css" href="style.css"></head><body><div class="circle"><span>爱心等级</span><strong>4</strong><span>2012-03-02</span></div></body></html>
style.css
.circle {position: relative;border: solid 1px green;border-radius: 50%;height: 200px;width: 200px;text-align: center;display: flex;align-items: center;justify-content: center;flex-direction:column;margin: 100px;}.circle> strong {display: block;font-size: 48px;margin-top: 10px;color: red;}.circle:before,.circle:after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;margin: -5%;border-radius: 50%;box-shadow: inset 0 0 0 2px green;animation: rotate 8s linear infinite;clip: rect(0, 110px, 110px, 0);}.circle:before {clip: rect(0, 110px, 110px, 0);}.circle:after {clip: rect(110px, 220px, 220px, 110px);}@keyframes rotate{0% {transform: rotate(0deg);}100% {transform: rotate(360deg);}}
阅读全文
0 0
- 一种类似护盾绕圆旋转的设计
- Ext_一种类似静态方法的写法^-^
- 一种类似快速排序的移动算法
- 一种类似页脚的展示方法
- 类似安卓Toast的精灵淡入的一种解决方案
- 类似旋转木马效果的converflow,3D视觉效果
- 实现类似小米手机的秒表指针旋转动画摸索
- 一种包含类似如下字段的分割SQL语句。
- 一种类似和谐系统的字符串匹配算法
- 类似雷电这种小游戏背景无限地图的一种思路
- 类似QQ登录账号下拉选择框的一种实现
- 自己动手,实现一种类似List<T>的数据结构(二)
- 代码:一种类似outlook资源树的CSS样式
- 服务器端软件的一种设计
- 服务器端软件的一种设计
- 一种展柜的设计构想
- 一种并发队列的设计
- 一种解决一维数组旋转问题的方法
- unity3d与android
- Maven入门
- 如何修改一次代码就可以完成多种类型 cell 的 UITableView 增删修改顺序?
- ORA-01157: cannot identify/lock data file 7
- 联表更新
- 一种类似护盾绕圆旋转的设计
- 通过spring配置两个数据源的实现方法(一)
- BloomFilter应用与D-Lelft BloomFilter实现
- 在控制台中输入msqyl一直报ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost'错误
- HDU3829Cat VS Dog(二分图最大独立集)
- 思维导图,带你走进《西游记》人物的世界
- Hadoop集群安装配置
- HDU 1030 Delta-wave
- 《深入理解java虚拟机》读书笔记三 【回收对象和方法区】