반응형
    
    
    
  Gradation css를 이용한 배경 애니메이션
추후 Crocus 사이트 메인 배경으로 될 후보입니다.
background: linear-gradient(137deg, #fff6b7, #f77c99, #6578f2, #c2ffd8);
background-size: 800% 800%;
-webkit-animation: AnimationName 16s ease infinite;
-moz-animation: AnimationName 16s ease infinite;
-o-animation: AnimationName 16s ease infinite;
animation: AnimationName 16s ease infinite;
@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-o-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes AnimationName { 
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
.container {
	color: #fff;
	background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
	background-size: 400% 400%;
	animation: AnimationName 15s ease infinite;
	width: 100%;
	height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	top: 35%;
	text-align: center;
}반응형
    
    
    
  'Basic > HTML & CSS' 카테고리의 다른 글
| CSS를 이용한 scattering hexagons (0) | 2019.09.29 | 
|---|---|
| css를 이용한 Animation 제작 (0) | 2019.09.18 | 
| 그라데이션 색감 참고하기 좋은 사이트 (0) | 2019.06.29 | 
| 순수 CSS로만 이루어진 hover시 Animation Button (0) | 2019.06.29 | 
| failed to load resource name not resolved (0) | 2019.06.16 |