div两端对齐_css中两个div水平对齐

div两端对齐_css中两个div水平对齐.parentDiv{ display:flex; align-items:center; justify-content:space-around; width:100%;}.parentDiv>div{ display:inline-block; width:45%;}

.parentDiv{ 
   
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: 100%;
}
.parentDiv > div{ 
   
	display: inline-block;
	width: 45%;
}
只听到从架构师办公室传来架构君的声音:
故人西辞黄鹤楼,烟花三月下扬州。有谁来对上联或下联?
本文来源chao289658718,由架构君转载发布,观点不代表Java架构师必看的立场,转载请标明来源出处:https://javajgs.com/archives/209803
0
   

发表评论