-
杜发明
这个简单,只用css可实现:css3过渡:transition: 过渡的属性 过渡的时间(秒); 一般和:hover搭配使用。详细可查w3c
-
此生不换93
刚刚那个不完整
p::after {
height: 16px;
content: ""; // '...'
position:absolute;
bottom:9px;
right:0;
padding-left:30px;
background:-webkit-linear-gradient(left,transparent,#fff 55%);
background:-o-linear-gradient(right,transparent,#fff 55%);
background:-moz-linear-gradient(right,transparent,#fff 55%);
background:linear-gradient(to right,transparent,#fff 55%);
}
-
此生不换93
height: 16px;
content: ""; // '...'
position:absolute;
bottom:9px;
right:0;
padding-left:30px;
background:-webkit-linear-gradient(left,transparent,#fff 55%);
background:-o-linear-gradient(right,transparent,#fff 55%);
background:-moz-linear-gradient(right,transparent,#fff 55%);
background:linear-gradient(to right,transparent,#fff 55%);
-
慕虎1618318
box-shadow