css3通话效果的例子
来源:互联网 发布:php网站密码破解 编辑:程序博客网 时间:2024/05/29 12:32
代码:
<!doctype html><html><head><meta charset="utf-8"><title>css3通话效果</title><link rel="stylesheet" type="text/css" href="bootstrap/bootstrap.min.css"><style type="text/css">.call_page{ position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0,0,0,0.77); width: 1920px; height: 1080px; display: none;}.call_page_content{ width: 950px; height: 100%; margin-left: auto; margin-right: auto; position: relative;}.img_wrap{ position: absolute; width: 655px; height: 655px; left: 50%; margin-left: -327.5px; margin-top: 178.5px;}.circle{ position: absolute; width: 307px; height: 307px; left: 50%; top: 50%; margin-left: -153.5px; margin-top: -153.5px; border-radius: 50%;}.img_wrap1{ z-index: 900; background-color: rgba(255,255,255, 0.15); box-shadow: 0 0 100px 0px rgba(0,0,0,0.5), 0 0 5px 0 rgba(255,255,255,0.2) inset; animation:animation1 2s ease infinite;}.img_wrap2{ z-index: 800; background-color: rgba(255,255,255, 0.15); box-shadow: 0 0 100px 0px rgba(0,0,0,0.5), 0 0 5px 0 rgba(255,255,255,0.1) inset; animation:animation2 2s ease infinite; filter:Alpha(opacity=80); -webkit-opacity:0.8; opacity: 0.8;}.img_wrap3{ z-index: 700; background-color: rgba(255,255,255, 0.15); box-shadow: 0 0 5px 0 rgba(255,255,255,0.2) inset; animation:animation3 2s ease infinite; filter:Alpha(opacity=60); -webkit-opacity:0.6; opacity: 0.6;}@keyframes animation1{0% { transform: scale(1,1); opacity: 1; } 25% { transform: scale(1.3,1.3); }75% { transform: scale(1.3,1.3); opacity: 1; }100% { transform: scale(1.3,1.3); opacity: 0; }}@keyframes animation2{0% { transform: scale(1,1); opacity: 1; }50% { transform: scale(1.62,1.62); } 75% { transform: scale(1.62,1.62); opacity: 1;}100% { transform: scale(1.62,1.62); opacity: 0; }}@keyframes animation3{0% { transform: scale(1,1); opacity: 1; }75% { transform: scale(1.94,1.94); opacity: 1; }100% { transform: scale(1.94,1.94); opacity: 0; }}.fgimg{ z-index: 1000; border-radius: 50%; box-shadow: 0 0 100px 0 rgba(0,0,0,0.5); background-size: 307px; background-repeat: no-repeat; background-position-y: -10px; background-image: url(images/fg.png);}/* 增加opacity是让消失时候有个淡出的效果 */</style></head><body><!-- 图片尺寸:431*589 --><div class="call_page"> <div class="call_page_content"> <div class="img_wrap"> <div class="circle img_wrap3"></div> <div class="circle img_wrap2"></div> <div class="circle img_wrap1"></div> <div class="circle fgimg"></div> </div> </div></div></body><script src="jquery/jquery.min.js"></script><script src="bootstrap/bootstrap.min.js"></script><script type="text/javascript">$(function(){ $(".call_page", window.parent.document).fadeIn('slow', function(){ //显示通话界面 });})</script></html>
0 0
- css3通话效果的例子
- CSS3的过渡效果
- 有趣的css3效果
- css3的动画效果
- CSS3的过渡效果
- CSS3的动画效果
- 音视频通话中影响效果的因素
- css3的transition 过渡效果
- 其他的CSS3悬停效果
- CSS3做涟漪的效果
- CSS3的动画效果实现
- css3的书本翻页效果
- CSS3实现毛玻璃的效果
- css3实现的手风琴效果
- CSS3 强大的动态效果
- CSS3的动画效果@keyframes
- css3中scale的效果
- css3的transition效果和transfor效果
- is not allowed to connect to this MySQL server
- html5移动端知识点总结(一)
- linux下让自己的程序调用caffe库
- 实现客户姓名的添加显示
- 计算机网络链路层
- css3通话效果的例子
- Hadoop源码学习之-----Mapreduce输入流:InputFormat,InputSplit,RecordReader
- AngularJs 基础教程 —— 简介(10)
- 计算UIWebView加载网页的内容高度
- JAVA解析RTF 文件
- 最大似然估计,最大后验估计和贝叶斯估计
- Python脚本中文乱码问题
- Mysql 时间 '0000-00-00'异常解决
- swarm工作原理