您正在使用 IPV4 [34.228.52.21] 访问本站,您本次已经查看了 1 页
用户名: 密 码: 验证码:     用QQ登录本站
首页 软件 编程 笑话 知识 公告 台风 日历 计算器
[公益]保护绿色环境,构建和谐社会       悟空收录网      

【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中      
[公益] 地球是我家,绿化靠大家      
2023年 圣诞节 023
2024年 腊八节 047
2024年 元 旦 030
2024年 春 节 070
 
您现在的位置:首页 >> 脚本代码 >> 内容
本类新增
本类热门文章
使用html+css实现页面书本翻页特效
内容摘要: !DOCTYPEhtmlhtmllang='en'headmetacharset='UTF-8'metaname='viewport'content='width=device-width,initial-scale=1.0'titleDocument/titlestyle*{margin:0;padding:0;box-sizing:border-box;......
<!DOCTYPEhtml>

<htmllang="en">

<head>

<metacharset="UTF-8">

<metaname="viewport"content="width=device-width,initial-scale=1.0">

<title>Document</title>

<style>

*{

margin:0;

padding:0;

box-sizing:border-box;

}

body{

height:100vh;

background-image:radial-gradient(white,black);

display:flex;

justify-content:center;

align-items:center;

}

.shu{

position:relative;

width:300px;

height:400px;

background-color:rgba(255,255,255,0.774);

transform-style:preserve-3d;

box-shadow:300px0px30pxrgb(0,0,0,.6)inset;

transition:1scubic-bezier(.79,.34,.47,.92);

}

.shu::after{

content:'';

position:absolute;

height:3px;

width:303px;

left:0px;

bottom:-3px;

/*background-color:rgb(100,96,96);*/

background-image:linear-gradient(toright,rgb(71,68,68),rgba(124,120,120,0.3));

border-bottom-left-radius:5px;

}

.shu::before{

content:'';

position:absolute;

width:3px;

height:100%;

right:-3px;

top:0px;

background-color:rgb(112,108,108);

background-image:linear-gradient(totop,rgb(114,111,111),rgba(90,87,87,0.5));;

border-top-right-radius:3px;

}

.shu:hover{

box-shadow:30px0px30pxrgb(0,0,0,.6)inset;

transform:rotate(-5deg);

}

.feng{

position:absolute;

width:100%;

height:100%;

z-index:2;

background-image:url(4.jpg);

background-size:100%;

transform-origin:left;

transition:1scubic-bezier(.79,.34,.47,.92);

border-top-left-radius:2px;

border-bottom-left-radius:2px;

}

.shu:hover.feng{

transform:rotateY(-140deg);

}

.wen{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

font-family:'fangsong';

text-align:left;

}

</style>

</head>

<body>

<divclass="shu">

<divclass="feng"></div>

<divclass="wen">

<h3style="padding-top:50px;padding-left:40px;">LifeofPi</h3>

<pstyle="padding-top:20px;padding-left:40px;padding-right:15px;">

HelivesinScarborough.He'sasmall,slimman–nomorethanfivefootfive.Darkhair,darkeyes.Hairgreyingatthetemples.Can'tbeolderthanforty.leasingcoffee-colouredcomplexion1.Mildfallweather,yetputsonabigwinterparkawithfur-linedhood2forthewalktothediner.

</p>

</div>

</div>

</body>

</html>

版权声明:本内容来源于网络,如有侵犯您的版权,请联系站长,本站收到您的信息后将及时处理。
上一篇:JavaScript基于Ajax实现不刷 下一篇:js自动查找select下拉的菜单并选择
发布日期:2023/11/19
手机扫二维码直达本页
发布时间:14:52:01
点  击:15
录  入:齐天大圣
相关文章
Baidu
YiJiaCMS 7.3.5 build231025(MSSQL) 闽ICP备05000814号-1
本空间由腾讯云(轻量应用服务器)提供,Cloudflare提供加速防护
运行时间载入中.....