HTML中带有'\ n'的换行符
white-space
的作用是合并空格,换行和white-space:pre-wrap一样,遇到源码中的换行和<br/>会换行,碰到容器的边界也会换行。
white-space
的作用是合并空格,换行和white-space:pre-wrap一样,遇到源码中的换行和<br/>会换行,碰到容器的边界也会换行。
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 */是可以的。
css鼠标点击的五种状态
一、前言
三角形实现原理:宽度width为0;height为0;(1)有一条横竖边(上下左右)的设置为border-方向:长度 solid red,这个画的就是底部的直线。其他边使用border-方向:长度 solid transparent。(2)有两个横竖边(上下左右)的设置,若斜边是在三角形的右边,这时候设置top或bottom的直线,和右边的斜线。若斜边是在三角形的左边,这时候设置top或bottom的直线,和左边的斜线。