Web开发

/ 换个头像心好累 / 0评 / 0/ 最后更新:2022-10-26
flex,grid中ellipsis不生效

解决方案

flex元素添加min-width:0属性

gird子元素添加min-width:0属性

参考文档

css - Ellipsis in flexbox container - Stack Overflow

0

Leave a Reply

Your email address will not be published. Required fields are marked *