CSS Gradient 표시
CSS 코드로 Gradient 를 표시하는 코드이다.
border: 1px solid #5b8ab8;
background: #396591; /* old browsers */
background: -moz-linear-gradient(top, #a1c3ed 0%, #396591 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a1c3ed), color-stop(100%,#396591)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#a1c3ed’, endColorstr=’#396591′,GradientType=0 ); /* ie */
background: #396591; /* old browsers */
background: -moz-linear-gradient(top, #a1c3ed 0%, #396591 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a1c3ed), color-stop(100%,#396591)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#a1c3ed’, endColorstr=’#396591′,GradientType=0 ); /* ie */