—— 阿尔伯特·爱因斯坦

程序员の奇妙冒险

前端CSS
2025-08-25 15:25阅读:27评论:0

div 实现左右布局

1
2
3
4
5
6
7
8
9
<div class="footer-wrapper">
<div class="footer-wrapper-left">
1111
</div>
<div class="footer-wrapper-right">
222
</div>
</div>
 
1
2
3
4
5
6
.footer-wrapper {
display:flex;
flex-direction:row;
justify-content:space-between;
}
 
评论(0)
暂无评论来抢沙发吧~