代码拉取完成,页面将自动刷新
#App {
background-color: antiquewhite;
padding: 3vw 10vw;
transition: all 2s;
}
.h1 {
font-size: 22px;
line-height: 1.4;
margin-bottom: 14px;
font-weight: bold;
text-align: center;
}
.h2 {
position: relative;
height: 200px;
}
.h2>p {
position: absolute;
bottom: 20px;
right: 20px;
}
.h2 h3 {
position: absolute;
color: rgb(189, 126, 91);
}
.h2 .img img {
transition: all 1s;
}
.h2 .img img:nth-child(1) {
opacity: 1;
height: 40px;
width: 40px;
top: 50%;
left: 10%;
position: absolute;
}
.h2 .img img:nth-child(2) {
height: 50px;
width: 50px;
top: 45%;
left: 20%;
opacity: 0.8;
position: absolute;
}
.h2 .img img:nth-child(3) {
opacity: 0.6;
height: 60px;
width: 60px;
top: 40%;
left: 30%;
position: absolute;
}
.h2 .img img:nth-child(4) {
opacity: 0.4;
opacity: 1;
height: 70px;
width: 70px;
top: 35%;
left: 40%;
position: absolute;
}
.h2 .img img:nth-child(5) {
opacity: 0.2;
height: 80px;
width: 80px;
top: 30%;
left: 50%;
position: absolute;
}
.h2 .img img:hover {
opacity: 1;
height: 100px;
width: 100px;
transform: translateY(-20px);
}
.pain {
position: absolute;
bottom: 0;
}
.content {
margin-top: 20px;
}
.content .first {
display: flex;
width: 100%;
justify-content: space-between;
flex-wrap: wrap;
}
.content .first .text {
position: relative;
height: 50px;
width: 30vw;
background-color: rgb(225, 160, 94);
color: rgb(228, 154, 81);
text-align: center;
-webkit-text-stroke: 0.5px #fff;
line-height: 50px;
border-radius: 0 20px 0 0;
font-size: 24px;
font-weight: bolder;
text-shadow: 0 3px 10px rgb(0, 0, 0);
transition: all 1s linear;
}
.content .first .span {
width: 200px;
display: flex;
justify-content: space-around;
transition: all 1s linear;
}
.content .first .faction {
display: inline-block;
height: 30px;
width: 30px;
background-color: rgb(225, 160, 94);
border-radius: 50%;
margin: 0 10px;
}
.content:hover .first .text {
color: rgb(223, 142, 61);
transform: translate(50vw, 2vw);
background-color: transparent;
font-size: 36px;
}
.content:hover .first .text img {
display: none;
}
.content:hover .first .span {
transform: translate(-390px, 60px);
opacity: 0;
}
.content .first .text img {
width: 30px;
height: 30px;
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
}
.content .second {
margin-top: 36px;
line-height: 160%;
}
.content .second p {
text-indent: 2em;
}
.content .third {
display: flex;
flex-wrap: wrap;
}
.content .third img {
box-sizing: border-box;
padding: 20px;
width: 50%;
height: 50%;
}
.content .footer {
margin: 1vh 0 10vh 36vw;
display: block;
width: 36vw;
height: 2px;
background-color: rgb(235, 135, 4);
}
@media (max-width: 768px) {
.content .third img {
width: 100%;
height: 100%;
}
.content .first .span {
display: none;
}
.h2 {
position: relative;
height: 300px;
}
.content:hover .first .text {
transform: translate(250px, 20px);
}
}
@media (max-width: 568px) {
.h2>p {
font-size: 12px;
}
.content:hover .first .text {
transform: translate(0, -5px);
font-size: 24px;
}
.content .first .text{
width: 400px;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。