css实现一个方块猫效果
代码语言:html
所属分类:布局界面
代码描述:css实现一个方块猫效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
width: 100vw;
margin: -8px;
background: pink;
}
h1{
position: relative;
text-align: center;
color: #353535;
margin-bottom: 100px;
}
.box1{
position: relative;
width:100px;
height:70px;
background:red;
}
.box2{
position: relative;
width:200px;
height:70px;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.box3{
position: relative;
width:300px;
height:7.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0