程序员の奇妙冒险

返回
前端 CSS
2025-08-25 15:25 阅读:73 评论:0

div 实现左右布局

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