摘要: 1.文字省略 text-overflow:ellipsis; overflow:hidden; white-space:nowrap; //text-overflow(clip、ellipsis)只是用来说明文字溢出时用什么方式显示,要实现溢出时产生省略号的效果,还须定义强制文本在一行内显示(whi 阅读全文
posted @ 2017-05-28 22:28 YYNSunny 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1.设置半透明:color:rgba(R,G,B,A),A为透明程度,在0-1之间 2.渐变色彩:线性渐变:background-image:linear-gradient(to left top,red,white,black); 阅读全文
posted @ 2017-05-28 21:32 YYNSunny 阅读(153) 评论(0) 推荐(0) 编辑