admin管理员组文章数量:1287859
I have a container that contains a list with an arbitrary number of items each with arbitrary heights. I want the items to wrap column-wise, which is simple enough using flexbox.
ul {
display: flex;
flex-flow: column wrap;
height:300px;
}
li {
list-style-type:none;
}
But I also want an element positioned in the top-right of the container, which the flex columns should wrap around. So it looks something like this, the yellow are the list items and the blue is the fixed element:
How can I accomplish this?
/
本文标签: htmlHow to get flex columns to wrap around a positioned elementStack Overflow
版权声明:本文标题:html - How to get flex columns to wrap around a positioned element? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741331352a2372781.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论