代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img, input, figure, figcaption {
margin: 0;
padding: 0;
}
h1, h2, h3, h4, h5, h6 {
font-size: 16px;
font-weight: normal;
}
ul, ol, li {
list-style: none;
}
b, strong {
font-weight: normal;
}
em, i {
font-style: normal;
}
a, u {
text-decoration: none;
}
img {
border: 0;
display: block;
}
input {
outline: none;
}
* {
box-sizing: border-box;
}
.box {
width: 214px;
height: 108px;
margin: 30px auto;
position: relative;
}
.inner {
width: 214px;
height: 108px;
border: rgba(0, 0, 0, .2) solid 1px;
}
.hidde {
opacity: 0;
width: 214px;
height: 108px;
text-align: center;
line-height: 108px;
font-size: 24px;
position: absolute;
left: 0;
top: 0;
transition: 0.7s;
}
.hidde:after {
position: absolute;
top: -1px;
content: '';
display: block;
width: 0;
height: 0;
border: #c69c6d solid 1px;
transition: width 0.4s linear;
}
.hidde:before {
position: absolute;
bottom: -1px;
content: '';
display: block;
width: 0;
height: 0;
border: #c69c6d solid 1px;
transition: width 0.4s linear;
}
.box:hover .hidde {
opacity: 1;
background-color: #fff;
}
.box:hover .hidde:after, .box:hover .hidde:before {
width: 210px;
}
.lar {
width: 214px;
height: 108px;
position: absolute;
left: 0;
top: 0;
}
.lar:after {
content: '';
display: block;
width: 0;
height: 0;
border: #c69c6d solid 1px;
transition: height 0.4s linear;
position: absolute;
left: 0px;
}
.lar:before {
content: '';
display: block;
width: 0;
height: 0;
border: #c69c6d solid 1px;
transition: height 0.4s linear;
position: absolute;
right: 0px;
}
.box:hover .lar:after, .box:hover .lar:before {
height: 107px;
}
</style>
<link rel="stylesheet" href="src/css/style.css">
</head>
<body>
<div class="box">
<div class="inner">
<img src="src/images/bj-1.png" height="108" width="214"/>
</div>
<div class="hidde">
宝玑
<div class="lar">
</div>
</div>
</div>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。