css3动画特效:纯css3制作win8加载动画特效
Windows 8

<style type="text/css">
.hnyei{margin: 0 auto; width:600px; height:400px; background-color: #90da15; }
.wrapp{position: absolute; top: 25%; left: 50%; width: 600px; height: 300px; margin: -150px 0 0 -300px;
-webkit-perspective: 30px;
-webkit-transform: translateX(0px);
-webkit-animation: wrapp 400ms 800ms ease-in forwards;
-moz-perspective: 30px;
-moz-transform: translateX(0px);
-moz-animation: wrapp 400ms 800ms ease-in forwards;
-ms-perspective: 30px;
-ms-transform: translateX(0px);
-ms-animation: wrapp 400ms 800ms ease-in forwards;
perspective: 30px;
transform: translateX(0px);
animation: wrapp 400ms 800ms ease-in forwards;
}
.text{
position: absolute;top: 50%;left: 50%;width: 0px;height: 60px; margin: -30px 0 0 -160px;overflow: hidden;
-webkit-transform: translateX(0px);
-webkit-animation: text 400ms 800ms linear forwards;
-moz-transform: translateX(0px);
-moz-animation: text 400ms 800ms linear forwards;
-ms-transform: translateX(0px);
-ms-animation: text 400ms 800ms linear forwards;
transform: translateX(0px);
animation: text 400ms 800ms linear forwards;
}
h1{float: right;font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
font-weight: normal;color: #fff;padding:;margin:;width: 320px;height: 60px;font-size: 60px;line-height: 60px;
}
.logo{position: absolute; top: 50%; left: 50%; width: 90px; height: 90px; margin: -45px 0 0 -45px;
background-color: #fff;
-webkit-transform: translateX(0px) rotateY(10deg);
-webkit-animation: logo 500ms 300ms ease-out forwards;
-moz-transform: translateX(0px) rotateY(10deg);
-moz-animation: logo 500ms 300ms ease-out forwards;
-ms-transform: translateX(0px) rotateY(10deg);
-ms-animation: logo 500ms 300ms ease-out forwards;
transform: translateX(0px) rotateY(10deg);
animation: logo 500ms 300ms ease-out forwards;
}
.logo .top-left{position: absolute;top:;left:;width: 44px;height: 44px;border-right: solid 2px #90da15;border-bottom: solid 2px #90da15;}
.logo .bottom-right{position: absolute; bottom:; right:; width: 44px; height: 44px; border-left: solid 2px #90da15; border-top: solid 2px #90da15;}
@-webkit-keyframes logo {
from {-webkit-transform: translateX(0px) rotateY(10deg);}
to {-webkit-transform: translateX(0px) rotateY(-10deg);}
}
@-webkit-keyframes text {
from {width: 0px;-webkit-transform: translateX(0px);}
60%{width: 0px;}
to {width: 320px;-webkit-transform: translateX(240px);}
}
@-webkit-keyframes wrapp {
from {-webkit-transform: translateX(0px);}
to {-webkit-transform: translateX(-200px);}
}
@-moz-keyframes logo {
from {-moz-transform: translateX(0px) rotateY(10deg);}
to {-moz-transform: translateX(0px) rotateY(-10deg);}
}
@-moz-keyframes text {
from {width: 0px;-moz-transform: translateX(0px);}
60%{width: 0px;}
to {width: 320px;-moz-transform: translateX(240px);}
}
@-moz-keyframes wrapp {
from {-moz-transform: translateX(0px);}
to {-moz-transform: translateX(-200px);}
} @-ms-keyframes logo {
from {-ms-transform: translateX(0px) rotateY(10deg);}
to {-ms-transform: translateX(0px) rotateY(-10deg);}
}
@-ms-keyframes text {
from {width: 0px;-ms-transform: translateX(0px);}
60%{width: 0px;}
to {width: 320px;-ms-transform: translateX(240px);}
}
@-ms-keyframes wrapp {
from {-ms-transform: translateX(0px);}
to {-ms-transform: translateX(-200px);}
}
@keyframes logo {
from {transform: translateX(0px) rotateY(10deg);}
to {transform: translateX(0px) rotateY(-10deg);}
}
@keyframes text {
from {width: 0px;transform: translateX(0px);}
60%{width: 0px;}
to {width: 320px;transform: translateX(240px);}
}
@keyframes wrapp {
from {transform: translateX(0px);}
to {transform: translateX(-200px);}
}
</style>
Html 部分:
<div class="hnyei">
<div class="wrapp">
<div class="text">
<h1>Windows 8</h1>
</div>
<div class="logo">
<span class="top-left"></span>
<span class="bottom-right"></span>
</div>
</div>
</div>
css3动画特效:纯css3制作win8加载动画特效的更多相关文章
- 纯css3实现的win8加载动画
今天给大家分享一款纯css3实现的win8加载动画.在这款实例中动画效果完全由css3实现.一起看下效果图: 在线预览 源码下载 实现的代码. html代码: <div class=&quo ...
- 用css3制作旋转加载动画的几种方法
以WebKit为核心的浏览器,例如Safari和Chrome,对html5有着很好的支持,在移动平台中这两个浏览器对应的就是IOS和Android.最近在开发一个移动平台的web app,那么就有机会 ...
- [前端随笔][CSS] 制作一个加载动画 即帖即用
说在前面 描述 [加载中loading...] 的动画图片往往使用GIF来实现,但GIF消耗资源较大,所以使用CSS直接制作更优. 效果传送门1 效果传送门2 关键代码 @keyframes 规则 用 ...
- 使用 CSS3 实现超炫的 Loading(加载)动画效果
SpinKit 是一套网页动画效果,包含8种基于 CSS3 实现的很炫的加载动画.借助 CSS3 Animation 的强大功能来创建平滑,易于定制的动画.SpinKit 的目标不是提供一个每个浏览器 ...
- 基于jQuery点击加载动画按钮特效
分享一款基于jQuery点击加载动画按钮特效.这是一款基于jQuery+CSS3实现的鼠标点击按钮加载动画特效代码.效果图如下: 在线预览 源码下载 实现的代码. html代码: <div ...
- [Swift通天遁地]一、超级工具-(11)使用EZLoadingActivity制作Loading加载等待动画
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★➤微信公众号:山青咏芝(shanqingyongzhi)➤博客园地址:山青咏芝(https://www.cnblogs. ...
- 源码分享-纯CSS3实现齿轮加载动画
纯CSS3实现齿轮加载动画是一款可以用来做Loading动画的CSS3特效代码. 有兴趣的朋友可以下载下来试试:http://www.huiyi8.com/sc/8398.html
- 16款纯CSS3实现的loading加载动画
分享16款纯CSS3实现的loading加载动画.这是一款实用的可替代GIF格式图片的CSS3加载动画代码.效果图如下: 在线预览 源码下载 实现的代码. html代码: <div clas ...
- 纯css3加载动画
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <meta name= ...
随机推荐
- 解决ubuntu bash: cd: ~:Permission denied
cd /usr/local/hadoop 报错:bash: cd: /usr/local/hadoop:Permission denied 输入指令: /usr/local/hadoop 原因是没有权 ...
- Attributes:文本属性 和NSAttributedString
前言: 有一些控件无法直接设置文本大小,需要使用方法 setTitleTextAttributes 来设置文本属性 UIFont 字体样式 [UIFont fontWithName~]; iOS- 详 ...
- C++ map使用(基于RBTree)
一.insert ◦1)用insert函数插入pair数据 ◦map<int, string> mapStudent; ◦mapStudent.insert(pair<int, st ...
- bootstrap中的Tooltips工具提示的使用问题
在使用bootstrap中的Tooltips时,官方文档中的实例代码若直接放在.container 或 .container-fluid类中时,四个button悬停之后会把button之间的margi ...
- ORA-30004 错误处理
一.问题情景: 原SQL: select c.CATEGORY_ID, c.CATEGORY_NAME, SYS_CONNECT_BY_PATH(c.CATEGORY_NAME ...
- Linux splint命令
一.简介 splint是一个针对C语言的开源程序静态分析工具. 二.安装配置 1)yum安装 yum install -y splint 2)源码安装 http://www.splint.org/ 配 ...
- C#设计模式(12)——享元模式(Flyweight Pattern)
一.引言 在软件开发过程,如果我们需要重复使用某个对象的时候,如果我们重复地使用new创建这个对象的话,这样我们在内存就需要多次地去申请内存空间了,这样可能会出现内存使用越来越多的情况,这样的问题是非 ...
- C#设计模式(5)——建造者模式(Builder Pattern)
一.引言 在软件系统中,有时需要创建一个复杂对象,并且这个复杂对象由其各部分子对象通过一定的步骤组合而成.例如一个采购系统中,如果需要采购员去采购一批电脑时,在这个实际需求中,电脑就是一个复杂的对象, ...
- RabbitMQ(四) -- Routing
RabbitMQ(四) -- Routing `rabbitmq`可以通过路由选择订阅者来发布消息. Bindings 通过下面的函数绑定Exchange与消息队列: channel.queue_bi ...
- Linux系列笔记 - vim相关记录
一.常用到的vim命令 这里只简单记录常用到的命令,后面会有自己记录的命令,但有些可能不常用. 常规模式: gg 跳到文件头 shift+g 跳到文件尾 行数+gg 跳到指定行 如:123gg 跳到1 ...