1 Star 0 Fork 1

刘继东 / christmas-love

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
common.css 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
刘继东 提交于 2021-12-26 19:40 . 排错,优化
*{
margin: 0;
padding: 0;
}
/*body{
width: 100%;
height: 100%;
}*/
.container {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
}
.bg-adaptive {
background-size: 100% 100%;
}
.container .page-a {
width : 100%;
height : 100%;
background-image: url("images/a/page-a-bg.png");
position: absolute;
z-index: 5;
}
.container .page-b {
width : 100%;
height : 100%;
background-image: url("images/b/page-b-bg.png");
position: absolute;
z-index: 4;
}
.page-c {
width : 100%;
height : 100%;
background-image: url("images/c/page-c-bg.png");
position: absolute;
z-index: 3;
}
/**
* 页面切换
* 镜头方法
*/
.effect-out{
-webkit-animation: effectOut 8s ease-in-out forwards;
-webkit-transform-origin:71% 72%;
-moz-animation: effectOut 8s ease-in-out forwards;
-moz-transform-origin:71% 72%;
}
.effect-in{
z-index: 15;
display: block;
opacity:0;
-webkit-transform: scale(8);
-webkit-animation: effectIn 5s ease-in-out forwards;
-webkit-transform-origin:58.5% 73.5%;
-moz-transform: scale(8);
-moz-animation: effectIn 5s ease-in-out forwards;
-moz-transform-origin:58.5% 73.5%;
}
@-webkit-keyframes effectOut{
0% { opacity:1; }
100% { -webkit-transform: scale(20); opacity:0; }
}
@-moz-keyframes effectOut{
0% { opacity:1; }
100% { -moz-transform: scale(20); opacity:0; }
}
@-webkit-keyframes effectIn{
100% { -webkit-transform: scale(1); opacity:1; }
}
@-moz-keyframes effectIn{
100% { -moz-transform: scale(1); opacity:1; }
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jidong-liu/christmas-love.git
git@gitee.com:jidong-liu/christmas-love.git
jidong-liu
christmas-love
christmas-love
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891