<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>grids</title>
<style>
.grids {
display: flex;
flex-wrap: wrap;
border-top: 1px solid #eee;
border-left: 1px solid #eee;
}
.grids .item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 33.3333333%;
height: 125px;
border-right: 1px solid #eee;
border-bottom: 1px solid #eee;
box-sizing: border-box;
}
.grids .item .icon {
width: 100px;
height: 100px;
border-radius: 50px;
background-color: pink;
margin-top: 5px;
}
九宫格加边框(移动端flex布局)
最新推荐文章于 2023-07-17 22:34:40 发布