"CSS striped progress"의 두 판 사이의 차이

(새 문서: ==개요== ;CSS striped progres <source lang='html'> <style> .meter { text-align: center; position: relative; overflow: hidden; } .meter>i { position: absolute; left: -46...)
 
42번째 줄: 42번째 줄:
==참고==
==참고==
* https://css-tricks.com/css3-progress-bars/
* https://css-tricks.com/css3-progress-bars/
* https://getbootstrap.com/docs/4.0/components/progress/


[[분류: CSS]]
[[분류: CSS]]

2020년 9월 16일 (수) 02:54 판

1 개요

CSS striped progres
<style>
  .meter {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.meter>i {
  position: absolute;
  left: -46px;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    -55deg,
    #f006 1px,
    #fff6 2px,
    #fff6 5px,
    #00f6 6px,
    #00f6 10px,
    #fff6 11px,
    #fff6 15px,
    #f006 16px,
    #f006 20px
  );
  animation: move 1s linear infinite;
}
@keyframes move {
  to {
    background-position: 46px 0;
  }
}
</style>
<div class="meter">이발소<i></i></div>

2 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}