svg 애니메이션 작동 안 됨 ㅠㅠ

svg 애니메이션 작동 안 됨 ㅠㅠ

QA

svg 애니메이션 작동 안 됨 ㅠㅠ

본문

왜 스트로크가 작동 안할까요 ㅠㅠ 

3673009239_1727751368.1747.png

 

.video-controls {
  position: absolute;
  left: 20px;
  z-index: 1;
  display: flex;
  column-gap: 16px;
}

#play-pause-btn {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-image: url('../assets/btn_pause.svg');
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: center;
  overflow: hidden;
}

.svg {
  display: block;
  margin: calc(50% - 40px) auto;
}

.border {
  fill: none;
  stroke: white;
  stroke-width: 3;
}

.progress {
  fill:none;
  stroke: red;
  stroke-width: 3;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  transform-origin: center;
  transform: rotate(-90deg)
}

@keyframes progress {
  100%
  {
    stroke-dashoffset: 0;
  }
}

.video-controls button {
  font-weight: 700;
  font-size: 16px;
  color: #ffffffcc;
}

.video-controls button.active {
  font-weight: 700;
  font-size: 16px;
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

 

css입니다 ㅠㅠ 

이 질문에 댓글 쓰기 :

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 61,036
© SIRSOFT
현재 페이지 제일 처음으로