分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 前端开发

css-翻页

发布时间:2023-09-06 01:23责任编辑:彭小芳关键词:暂无标签
<!DOCTYPE html><html lang="en"> ?<head> ???<meta charset="utf-8"> ???<meta http-equiv="X-UA-Compatible" content="IE=edge"> ???<meta name="viewport" content="width=device-width, initial-scale=1"> ???<title></title> ???<style> ?????.center-bg { ???????position: relative; ???????top: 100px; ???????left: 300px; ???????width: 500px; ???????height: 500px; ???????background-color: #ddd; ???????border: 1px solid #fff; ?????} ?????.left-corner { ???????position: absolute; ???????left: 0; ???????top: calc(100% - 100px); ???????width: 0; ???????height: 0; ???????border-bottom: 100px solid #999; ???????border-right: 100px solid transparent; ???????transform: rotate3d(1,1,0,0deg); ?????} ?????.right-corner { ???????position: absolute; ???????top: calc(100% - 100px); ???????left: calc(100% - 100px); ???????width: 0; ???????height: 0; ???????border-bottom: 100px solid #999; ???????border-left: 100px solid transparent; ?????} ?????@keyframes flipBook1 ?????????{ ???????????0% ??{ ???????????????????transform: rotate3d(1,1,0,0deg); ???????????????} ???????????100% { ???????????????????transform: rotate3d(1,1,0,90deg); ???????????} ???????} ?????.flip-animation-1 { ?????????????animation: flipBook1 2s forwards; ?????????????-moz-animation: flipBook1 2s forwards; /* Firefox */ ?????????????-webkit-animation: flipBook1 2s forwards; /* Safari and Chrome */ ?????????????-o-animation: flipBook1 2s forwards; /* Opera */ ?????????} ???</style> ?</head> ?<body> ???<div class="center-bg"> ?????<div class="content-area"> ???????<div> ?????????<div class="left-corner flip-animation-1"> ?????????</div> ???????</div> ???????<div> ?????????<div class="right-corner"> ?????????</div> ???????</div> ?????</div> ???</div> ?</body></html>

css-翻页

原文地址:http://www.cnblogs.com/adouwt/p/7791671.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved