.blinkClass {
            -webkit-animation: blink .3s infinite alternate;
            -moz-animation: blink .3s infinite alternate;
            animation: blink .3s infinite alternate;
        }
        @-webkit-keyframes blink {
            0% {color:  #0e4bef; border-color: #0e4bef;} 
            100% {color: #a9a9a9; border-color: #a9a9a9;}
        }
        @-moz-keyframes blink {
            0% {color:  #0e4bef; border-color: #0e4bef;} 
            100% {color: #a9a9a9; border-color: #a9a9a9;}
        }
        @keyframes blink {
            0% {color:  #0e4bef; border-color: #0e4bef;} 
            100% {color: #a9a9a9; border-color: #a9a9a9;}
        }

 

.bounceClass {
            -webkit-animation: bounce .3s infinite alternate;
            -moz-animation: bounce .3s infinite alternate;
            animation: bounce .3s infinite alternate;
            animation-iteration-count: 6;
            animation-delay: 3s;
        }
        @-webkit-keyframes bounce {
            to { -webkit-transform: scale(1.05); }
        }
        @-moz-keyframes bounce {
            to { -moz-transform: scale(1.05); }
        }
        @keyframes bounce {
            to { transform: scale(1.05); }
        }
반응형

'웹개발 > css' 카테고리의 다른 글

스크롤 해도 고정되는 배너 CSS  (0) 2021.08.25
CSS BEM의 10가지 일반적 문제와 해결 방법 1  (1) 2021.07.16
CSS 속성 나열 순서  (0) 2021.07.14
CSS 방법론 BEM  (0) 2021.07.14
CSS 파일 구분  (0) 2021.07.14
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기