纯css模拟书本立体交互倾斜效果代码
代码语言:html
所属分类:悬停
代码描述:纯css模拟书本立体交互倾斜效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
html {
height: 100%;
}
body {
margin: 0;
min-height: 100%;
background-color: #fff;
font-family: Arial, sans-serif;
font-size: 14px;
line-height: 20px;
color: #333;
}
/*Webflow standard classes */
html.w-mod-touch * {
background-attachment: scroll !important;
}
.w-block {
display: block;
}
.w-inline-block {
max-width: 100%;
display: inline-block;
}
.w-webflow-badge,
.w-webflow-badge * {
position: static;
left: auto;
top: auto;
right: auto;
bottom: auto;
z-index: auto;
display: block;
visibility: visible;
overflow: visible;
overflow-x: visible;
overflow-y: visible;
box-sizing: border-box;
width: auto;
height: auto;
max-height: none;
max-width: none;
min-height: 0;
min-width: 0;
margin: 0;
padding: 0;
float: none;
clear: none;
border: 0 none transparent;
border-radius: 0;
background: none;
background-image: none;
background-position: 0% 0%;
background-size: auto auto;
background-repeat: repeat;
background-origin: padding-box;
background-clip: border-box;
background-attachment: scroll;
background-color: transparent;
box-shadow: none;
opacity: 1.0;
transform: none;
transition: none;
direction: ltr;
font-family: inherit;
font-weight: inherit;
color: inherit;
font-size: inherit;
line-height: inherit;
font-style: inherit;
font-variant: inherit;
text-align: inherit;
letter-spacing: inherit;
text-decoration: inherit;
text-indent: 0;
text-transform: inherit;
list-style-type: disc;
text-shadow: none;
font-smoothing: auto;
vertical-align: baseline;
cursor: inherit;
white-space: inherit;
word-break: normal;
word-spacing: normal;
word-wrap: normal;
}
.w-webflow-badge {
position: fixed !important;
display: inline-block !important;
visibility: visible !important;
opacity: 1 !important;
z-index: 2147483647 !important;
top: auto !important;
right: 12px !important;
bottom: 12px !important;
left: auto !important;
color: #AAADB0 !important;
background-color: #fff !important;
border-radius: 3px !important;
padding: 6px 8px 6px 6px !important;
font-size: 12px !important;
opacity: 1.0 !important;
line-height: 14px !important;
text-decoration: none !important;
transform: none !important;
margin: 0 !important;
width: auto !important;
height: auto !important;
overflow: visible !important;
white-space: nowrap;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.1);
}
.w-webflow-badge > img {
display: inline-block !important;
visibility: visible !important;
opacity: 1 !important;
vertical-align: middle !important;
}
.w-richtext:before,
.w-richtext:after {
content: " ";
display: table;
}
.w-richtext:after {
clear: both;
}
.w-richtext[contenteditable="true"]:before,
.w-richtext[contenteditable="true"]:after {
white-space: initial;
}
/*-----------------------*/
h3 {
margin-top: 20px;
margin-bottom: 10px;
font-size: 24px;
line-height: 30px;
font-weight: bold;
}
h6 {
margin-top: 10px;
margin-bottom: 10px;
font-size: 12px;
line-height: 18px;
font-weight: bold;
}
p {
margin-top: 0;
margin-bottom: 10px;
}
a {
text-decoration: underline;
}
.scene {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0