.nav{
height: 100px;
/* Old browsers */
background: #3a9dce !important;
/* FF3.6-15 */
background: -moz-linear-gradient(top, #3a9dce 3%, #246585 100%) !important;
/* Chrome10-25,Safari5.1-6 */
background: -webkit-linear-gradient(top, #3a9dce 3%,#246585 100%) !important;
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
background: linear-gradient(to bottom, #3a9dce 3%,#246585 100%) !important;
/* IE6-9 */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a9dce', endColorstr='#246585',GradientType=0 ) !important;
}
'WEB > CSS' 카테고리의 다른 글
[CSS] 구글 웹폰트 사용하기 (0) | 2017.11.27 |
---|---|
[CSS] width에 padding과 margin을 포함시키기 (0) | 2017.11.27 |
[CSS] 자간 설정 (0) | 2017.11.27 |
[CSS] @font-face 사용하기 (0) | 2017.11.27 |
[CSS] 슬라이드하기 (0) | 2017.11.27 |