简单但不完美的方法:box-shadow
http://jsfiddle.net/yA3CX/
div.fx6Ra {
box-shadow:-10px 0px 25px #404040;
}
艰难的方式:::before
和line-gradient
http://jsfiddle.net/yA3CX/2/
div.fx6Ra:before,
div.fx6Ra::before {
content:' ';
display:inline-block;
position:absolute;
top:219px;
left:633px;
height:560px;
width:15px;
background-image:-webkit-linear-gradient(right,black,transparent);
background-image:-moz-linear-gradient(to left,black,transparent);
background-image:-ms-linear-gradient(to left,black,transparent);
background-image:-o-linear-gradient(to left,black,transparent);
background-image:linear-gradient(to left,black,transparent);
}
或者
http://jsfiddle.net/yA3CX/3/
div.fx6Ra:before,
div.fx6Ra::before {
content:' ';
display:inline-block;
position:relative;
top:0px;
left:-15px;
height:560px;
width:15px;
background-image:-webkit-linear-gradient(right,black,transparent);
background-image:-moz-linear-gradient(to left,black,transparent);
background-image:-ms-linear-gradient(to left,black,transparent);
background-image:-o-linear-gradient(to left,black,transparent);
background-image:linear-gradient(to left,black,transparent);
}