Use-webkit-line-clamp: 2 after vue packages the project; this property does not take effect?

-webkit-box-orient: vertical;
/ autoprefixer:on /
-webkit-line-clamp: 2;
text-overflow: ellipsis;
after packaging with vue, the style of multi-line omission does not take effect?

Mar.20,2021

Yes, it will be removed by the packaged postCSS plug-in, as if because this property is not a specification.
can be written in an inline style so that it will not be removed by the plug-in.

Menu