We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://lhammer.cn/You-need-to-know-css/#/zh-cn/text-truncate
You-need-to-know-css,CSS tricks web developers need to know
The text was updated successfully, but these errors were encountered:
多行文本截断在火狐上会有兼容问题,大众的解决方案是用伪类模拟... 笔者有什么优雅的解决方案么?
Sorry, something went wrong.
@2601178727 纯CSS并不能完美的实现多行文本截取,目前比较巧妙的方案都是通过float + 伪元素 + 渐变实现,如果想优雅的实现还是建议通过JS来实现,推荐看下shave这个库~
No branches or pull requests
https://lhammer.cn/You-need-to-know-css/#/zh-cn/text-truncate
You-need-to-know-css,CSS tricks web developers need to know
The text was updated successfully, but these errors were encountered: