.first{
width: 400px;
height: 200px;
margin-left: 500px;
background-image: linear-gradient(to right top,transparent,red);
text-align: center;
line-height: 200px;
font-size: 50px;
/*-webkit-box-reflect可以有三个参数第一个是方向 第二个是位置的偏移量 第三个也可以加个渐变*/
/*above上 below下 left左 ringht右*/
-webkit-box-reflect:left 30px;
}
hello world
来源: