<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
.dot{
width: 100%;
height: 100px;
background-image: linear-gradient(to bottom, red, black, transparent 50%);
background-size: 1px 6px;
background-repeat: repeat-y;
}
</style>
</head>
<script type="text/javascript">
</script>
<body>
<div class="dot"></div>
</body>
</html>






网友评论