div+css实现白色透明边框效果代码
代码语言:html
所属分类:布局界面
代码描述:div+css实现白色透明边框效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link rel='stylesheet' href='https://fonts.googleapis.com/css2?family=Marcellus&display=swap'>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
background: url(//repo.bfw.wiki/bfwrepo/image/6375c08016c8b.png) center center no-repeat;
background-size: cover;
font-family: "Marcellus", serif;
color: #fff;
}
.list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 50px;
align-items: stretch;
}
.item {
position: relative;
width: 380px;
padding: 30px;
border-left: 5px so.........完整代码请登录后点击上方下载按钮下载查看
网友评论0