xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

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, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2022-02-09 17:58  xgqfrms  阅读(31)  评论(1编辑  收藏  举报