两个gif图片动画效果

谁说我不能喝 提交于 2019-11-28 18:25:28
 <div className="uploading-animation-tip-wrap">
          <img src={require('~/shared/assets/image/slide-uploading-animation-file-300-300.gif')} alt="" className="uploading-tip-animation-file" />
          <img src={require('~/shared/assets/image/slide-uploading-animation-progress-wave-300-300.gif')} alt="" className="uploading-tip-animation-progress" />
        </div>
.uploading-animation-tip-wrap {
      width: 66px;
      height: 66px;
      background-color: #f5f5f5;
      border-radius: 50%;
      position: relative;

      .uploading-tip-animation-file {
        width: 66px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
      }
      .uploading-tip-animation-progress {
        width: 66px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        opacity: 0.2;
      }
    }

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!