怎么把图片、文本、按钮都放在一个框里?

小程序 文章 2022-03-06 13:00 381 0 全屏看文

AI助手支持GPT4.0

怎么把图片、文本、按钮都放在一个框里?How to put pictures, text and buttons in one box?

怎么把图片、文本、按钮都放在一个框里?

就类似菜鸟里的这样,框里左边是图片,右边空白的地方上方是文本,下面放两个按钮

Just like that in the rookie, the left side of the box is the picture, the top of the blank space on the right is the text, and there are two buttons below

回答:

小黎:

学习一下flex布局

tomheng:

display:flex 搞定

-EOF-

AI助手支持GPT4.0