pading和margin都不能使用吗,只能用flex相关的吗 .box { display: flex; flex-direction: column; align-items: center; justify-content: center; } .box > div { margin: 10px; padding: 20px; border: 1px solid #000; } .box > div:last-child { margin-top: auto; margin-left: auto; }
点赞 1

相关推荐

海螺很能干:每次看到这种简历都没工作我就觉得离谱
点赞 评论 收藏
分享
xxxxOxo:该催就催,想要你的不会因为催就挂,催了就挂的是因为本来就要挂你
点赞 评论 收藏
分享
牛客网
牛客企业服务