Autoprefixer error All In One
Autoprefixer error All In One
Second Autoprefixer control comment was ignored. Autoprefixer applies control comment to whole block, not to next rules.
⚠️ warning
.mult-lines-text-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
/*! autoprefixer: off */
-webkit-box-orient: vertical;
/* autoprefixer: on */
-webkit-line-clamp: 3;
}
solution ✅
.mult-lines-text-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
- /*! autoprefixer: off */
+ /* autoprefixer: ignore next */
-webkit-box-orient: vertical;
- /* autoprefixer: on */
-webkit-line-clamp: 3;
}
refs
https://gist.github.com/xgqfrms/f0e0c6f7c8dd55c7a1fa1c1cb51f2d7a
https://github.com/postcss/autoprefixer/releases/tag/8.4.0
https://github.com/xinconan/blog/issues/18
©xgqfrms 2012-2020
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/15876153.html
未经授权禁止转载,违者必究!