SOURCE

console 命令行工具 X clear

                    
>
console
<div class="con">

			<!--一个点的-->
			<div class="box">
				<span></span>
			</div>
			<!--两个点的-->
			<div class="box1">
				<span class="item"></span>
				<span class="item"></span>
			</div>
			<!--三个点的-->
			<div class="box2">
				<span class="item"></span>
				<span class="item"></span>
				<span class="item"></span>
			</div>
			<!--四个点的-->
			<div class="box3">
				<div class="column">
					<span class="item"></span>
					<span class="item"></span>
				</div>
				<div class="column">
					<span class="item"></span>
					<span class="item"></span>
				</div>
			</div>
			<!--五个点的-->
			<div class="box3">
				<div class="column">
					<span class="item"></span>
					<span class="item"></span>
				</div>
				<div class="column column1">
					
					<span class="item"></span>
				</div>
				<div class="column">
					<span class="item"></span>
					<span class="item"></span>
				</div>
			</div>
			<!--六个点的-->
			<div class="box3">
				<div class="column">
					<span class="item"></span>
					<span class="item"></span>
				</div>
				<div class="column">
					<span class="item"></span>
					<span class="item"></span>
				</div>
				<div class="column">
					<span class="item"></span>
					<span class="item"></span>
				</div>
			</div>



		</div>
* {
				margin: 0;
				padding: 0;
			}
			
			.con {
				width: 1024px;
				margin: 0 auto;
				overflow: hidden;
				border: 1px solid #000000;
			}
			/*筛子的一个点*/
			
			.box {
				margin: 20px;
				width: 300px;
				height: 300px;
				padding: 20px;
				float: left;
				box-sizing: border-box;/*盒子模型大小*/
				box-shadow: 3px 3px 3px #000000;
				display: flex;
				justify-content: center;/*容器横轴的排列方向*/
				align-items: center;/*容器纵轴的排列方向*/
			}
			
			.box span {
				/*flex: 1;*/
				width: 50px;
				height: 50px;
				border-radius: 50%;/*圆角*/
				background: red;
			}
			/*筛子的两个点*/
			
			.box1 {
				margin: 20px;
				width: 300px;
				height: 300px;
				padding: 20px;
				float: left;
				box-sizing: border-box;/*盒子模型大小*/
				box-shadow: 3px 3px 3px #000000;/*阴影*/
				display: flex;	/*指定为Flex布局。 */
				justify-content: space-between;/*容器横轴上的排列方向*/
			}
			
			.box1 .item {
				width: 50px;
				height: 50px;
				border-radius: 50%;/*圆角*/
				background: red;
			}
			
			.box1 .item:nth-child(2) {
				align-self: flex-end;/*单个项目的排列方式与其他的排列方式不同,可以覆盖可覆盖align-items属性*/
				-webkit-align-self: flex-end;
			}
			/*筛子的三个点*/
			
			.box2 {
				margin: 20px;
				width: 300px;
				height: 300px;
				padding: 20px;
				float: left;
				box-sizing: border-box;/*盒子模型大小*/
				box-shadow: 3px 3px 3px #000000;/*阴影*/
				display: flex;		/*指定为Flex布局。 */
				justify-content: space-between;	/*容器横轴上的排列方向*/
			}
			
			.box2 .item {
				width: 50px;
				height: 50px;
				border-radius: 50%;/*圆角*/
				background: red;
			}
			
			.box2 .item:nth-child(2) {
				align-self: center;/*单个项目的排列方式与其他的排列方式不同,可以覆盖可覆盖align-items属性*/
				-webkit-align-self: center
			}
			
			.box2 .item:nth-child(3) {
				align-self: flex-end;
				-webkit-align-self: flex-end
			}
			/*筛子的四个点*/
			
			.box3 {
				margin: 20px;
				width: 300px;
				height: 300px;
				padding: 20px;
				float: left;
				box-sizing: border-box;/*盒子模型大小*/
				box-shadow: 3px 3px 3px #000000;
				display: flex;
				/*justify-content: space-between;*/
				flex-wrap: wrap;
				align-content: space-between;/*align-content属性定义了多根轴线的对齐方式*/
			}
			
			.box3 .item {
				width: 50px;
				height: 50px;
				border-radius: 50%;/*圆角*/
				background: red;
			}
			
			.column {
				flex-basis: 100%;/*flex-basis	属性定义了在分配多余空间之前,项目占据的主轴空间(main size)*/
				display: flex;
				justify-content: space-between;/*容器横轴上的排列方向*/
			}
			/*筛子的五个点*/
			
			.box3 {
				margin: 20px;
				width: 300px;
				height: 300px;
				padding: 20px;
				float: left;
				box-sizing: border-box;/*盒子模型大小*/
				box-shadow: 3px 3px 3px #000000;
				display: flex;
				/*justify-content: space-between;*/
				flex-wrap: wrap;
				align-content: space-between;/*align-content属性定义了多根轴线的对齐方式*/
			}
			
			.box3 .item {
				width: 50px;
				height: 50px;
				border-radius: 50%;
				background: red;
			}
			
			.column {
				flex-basis: 100%;/*flex-basis  属性定义了在分配多余空间之前,项目占据的主轴空间(main size)*/
				display: flex;
				justify-content: space-between;/*容器横轴上的排列方向*/
			}
			.column1{
				justify-content: center;/*容器横轴上的排列方向*/
				align-items: center;/*容器纵轴上的排列方向*/
				
			}