CSS 그라데이션
by JM note
HTML
<style>
div {
height: 150px;
background: -webkit-linear-gradient(red, yellow);
background: -moz-linear-gradient(red, yellow);
background: -o-linear-gradient(red, yellow);
background: linear-gradient(red, yellow);
}
</style>
<div>top to bottom</div>