分类 css 下的文章

webpck不能编译这个属性-webkit-box-orient: vertical

https://github.com/fanyifanbumaimeng/Articles/issues/48

/* autoprefixer: ignore next */
-webkit-box-orient: vertical;

autoprefixer版本是6.3.3,用 autoprefixer: off /可以解决问题,用/ autoprefixer: ignore next /不行。新版本,所以使用/ autoprefixer: ignore next */是可以的。

一、前言
三角形实现原理:宽度width为0;height为0;(1)有一条横竖边(上下左右)的设置为border-方向:长度 solid red,这个画的就是底部的直线。其他边使用border-方向:长度 solid transparent。(2)有两个横竖边(上下左右)的设置,若斜边是在三角形的右边,这时候设置top或bottom的直线,和右边的斜线。若斜边是在三角形的左边,这时候设置top或bottom的直线,和左边的斜线。

- 阅读剩余部分 -