如何使内容在flexbox中的div周围漂浮?
我有一个flexbox设计,需要添加一个应在父级内部“ float”的元素。面临的挑战是,父级内部的内容应围绕该浮动div缠绕 - 既左div and the the the div and the the div。宽度是静态的,但是高度是动态的。我知道它如何与内联块和浮子一起使用,但是想知道如何在Flexbox设计中进行操作。 先感谢您。
I have a Flexbox design and need to add an element that should "float" to the right inside the parent div. The challenge is that the content inside the parent div should wrap around that floating div - both left of it and underneath it. Widths are static, but the heights are dynamic. I know how it would work with inline-blocks and floats, but am wondering how to do it inside a Flexbox design.
Thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它实际上需要漂浮吗?还是可以通过将蓝色部分分为两个单独的元素来伪造它?
Does it actually need to float? Or are you able to fake it by dividing the blue section into two separate elements?