今天做了好多小东西,还挺开心的~

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>正在加载中...</title>
<style type="text/css">
.box{
width:300px;
height:125px;
border:1px solid #000;
margin:200px auto 0;
} .box p{
text-align: center;
width:100%;
float:left;
/*p标签默认有样式*/
margin:0;
padding:0;
} .box div{
width:30px;
height:70px;
margin:15px;
float: left;
background-color: hotpink;
border-radius:10px;
} .box div:nth-child(1){
background-color: lightcoral;
/*缩、放 这是两次,所以是2*/
/*animation:loading 0.5s ease 0s 2 alternate;*/
animation: loading 0.5s ease 0s infinite alternate;
}
.box div:nth-child(2){
background-color: darkorange;
animation: loading 0.5s ease 0.1s infinite alternate;
}
.box div:nth-child(3){
background-color: lightcoral;
animation: loading 0.5s ease 0.2s infinite alternate;
}
.box div:nth-child(4){
background-color: gold;
animation: loading 0.5s ease 0.3s infinite alternate;
}
.box div:nth-child(5){
background-color: burlywood;
animation: loading 0.5s ease 0.4s infinite alternate;
} @keyframes loading{
from{
/*缩放y轴*/
transform:scaleY(1)
} to{
transform: scaleY(0.5);
} }
</style>
</head>
<body>
<div class="box">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<p>loading...</p>
</div>
</body>
</html>

成品展示:

是不是还萌萌哒~

最新文章

  1. [c++]默认参数
  2. Mac下的快速回到桌面快捷方式
  3. Spring Integration - 自动轮询发送手机短信
  4. 如何增强 Linux 系统的安全性,第一部分: Linux 安全模块(LSM)简介
  5. KVO机制
  6. Git简明手册
  7. Cmake find_package()相关
  8. Web项目中用模板Jsp页面引入所有静态样式脚本文件(js,css等)
  9. cooking eggs
  10. 设置ulabel的行间距
  11. Triangle Problems
  12. [.NET] 《Effective C#》快速笔记(四)- 使用框架
  13. [BZOJ]3532: [Sdoi2014]Lis
  14. 好久没用IJ写Java 之 《求输入的一个数中包含奇数、偶数、零的个数》
  15. mongo 修改器
  16. 【leetcode-86】 分隔链表
  17. IE8.0如何关闭启用内存保护帮助减少联机攻击?
  18. dp——环形石子合并(区间dp)
  19. 我的第一篇博客之js的XXXX年XX月XX日 星期[日一-六] [上下]午 XX时:XX分
  20. CSRF攻击与防御(写得非常好)

热门文章

  1. FTP协议的两种工作模式简单解析!
  2. lua源码学习篇三:赋值表达式解析的流程
  3. robotframework(rf)中对时间操作的datetime库常用关键字
  4. 浅谈 JVM 结构体系、类加载、JDK JRE JVM 三者的关系
  5. Lesson 1 A puma at large
  6. 7.安装pycharm----导入Nmap模块----netcat反向shell----metasploitable靶机环境
  7. 【Linux开发】CCS远程调试ARM,AM4378
  8. DOM练习(邓邓版)
  9. [官网]Prevent a worm by updating Remote Desktop Services (CVE-2019-0708)
  10. CM使用MySQL数据库预处理scm_prepare_database.sh执行报错:java.sql.SQLException: Access denied for user &#39;scm&#39;@&#39;hadoop101.com&#39; (using password: YES)