文本超出,省略,并展示icon,点击icon进行操作
比如产品要求做多展示三行,超过三行点击more 展开显示全部。否则不显示more。
或者文本后面自动跟随编辑icon,超过三行,展示省略号,后面加上编辑icon。
这个如何做呢? 这个是只是个案例。 具体参看:https://www.zhoulujun.cn/html/webfront/style/css3/2023_0930_8985.html
比如产品要求做多展示三行,超过三行点击more 展开显示全部。否则不显示more。
或者文本后面自动跟随编辑icon,超过三行,展示省略号,后面加上编辑icon。
这个如何做呢? 这个是只是个案例。 具体参看:https://www.zhoulujun.cn/html/webfront/style/css3/2023_0930_8985.html
npm i text-expander
6
0.0.1
MIT
285 kB
8