图片叠加不规则文字层效果
代码语言:html
所属分类:布局界面
代码描述:图片叠加不规则文字层效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
* {
margin: 0;
box-sizing: border-box;
}
body {
font-family: sans-serif;
}
.row {
display: -webkit-box;
display: flex;
flex-wrap: wrap;
}
.col-6 {
-webkit-box-flex: 0;
flex: 0 0 50%;
}
.h-100 {
height: 100% !important;
}
.p-5 {
padding: 3rem !important;
}
#section01 {
overflow: hidden;
}
#section01 .row {
-webkit-box-orient: horizontal;
-webkit-box-direction: reverse;
flex-direction: row-reverse;
}
#section01 .bannerImage {
background: url("http://repo.bfw.wiki/bfwrepo/image/5e62efa9e6df8.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_1200,h_600,/quality,q_90");
background-size: cover;
background-position: center center;
background-color: #3253DC;
}
#section01 .bannerText {
background-color: #3253DC;
position: relative;
z-index: 1;
}
#section01 .bannerText .oval {
position: absolute;
background-color: #3253DC;
top: -50%;
right: 0;
border-radius: 100%;
z-index: -1;
content: '';
}
@media screen and (max-width: 991px) {
#section01 .row {
display: block;
}
#section01 .bannerText {
padding: 0 0 3em !important;
}
#section01 .banne.........完整代码请登录后点击上方下载按钮下载查看
网友评论0