다음은 간단한 예입니다. 그것이 당신의 필요에 맞는 지 모르십시오.
body{
background:#111;
}
ul{
padding:0;
margin:0;
}
li{
margin-left:20px;
width:200px;
list-style:none;
border-bottom:dotted 2px #99f;
color:#99f;
position:relative;
}
li:before{
content:'+';
position:absolute;
left:-15px;
}
li:after{
content:'';
position:absolute;
height:2px;
width:100%;
top:100%;
background:red;
left:0;
background: -moz-linear-gradient(left, rgba(17,17,17,0) 0%, rgba(17,17,17,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(17,17,17,0)), color-stop(100%,rgba(17,17,17,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(17,17,17,0) 0%,rgba(17,17,17,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(17,17,17,0) 0%,rgba(17,17,17,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, rgba(17,17,17,0) 0%,rgba(17,17,17,1) 100%); /* IE10+ */
background: linear-gradient(to right, rgba(17,17,17,0) 0%,rgba(17,17,17,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00111111', endColorstr='#111111',GradientType=1); /* IE6-9 */
}
는
http://jsfiddle.net/KZPbf/
핸디 크로스 브라우저 그라데이션 생성기 : http://www.colorzilla.com/gradient-editor/
그라데이션 테두리 웹킷 가능하다, 난 당신이 여기에 http 도움을 사용하여 원하는 것을 달성 할 수있을 것입니다 의심 : // CSS 트릭 .com/examples/GradientBorder/ – Rockafella
링크를 이용해 주셔서 감사합니다. 실제로 사용 된 링크입니다. – sqe