<div class="other-11"></div>
.other-11
/* No context defined. */
  • Content:
    $BLOCK_NAME: '.other-11';
    
    #{ $BLOCK_NAME } {
      width: 120px;
      height: 120px;
      background: url(/parts/img/components/others/other11/anim.svg);
      background-size: 360px 120px;
      cursor: pointer;
      &:hover {
        animation: other11Anim 3s infinite;
      }
    }
    
    @keyframes other11Anim {
      0% {
        background-position: 0 0;
      }
      15% {
        background-position: 0 0;
      }
      15.1% {
        background-position: -120px 0;
      }
      45% {
        background-position: -120px 0;
      }
      45.1% {
        background-position: -240px 0;
      }
      75% {
        background-position: -240px 0;
      }
      75.1% {
        background-position: 0 0;
      }
    }
    
  • URL: /components/raw/other11/other11.scss
  • Filesystem Path: src/components/others/1_20/other11/other11.scss
  • Size: 601 Bytes

CSSスプライトを利用したパラパラアニメーション。
画像にマウスホバーするとアニメーションが開始する。