Card by andrew-demchenk0
#212121
1.card { 2 --main-color: #fff; 3 --bg-color: #090909; 4 --sub-main-color: #B9B9B9; 5 font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 6 width: 360px; 7 height: 478px; 8 background: var(--bg-color); 9 border-radius: 20px; 10 padding: 30px; 11} 12 13.card__menu { 14 cursor: pointer; 15} 16 17.card__img { 18 height: 224px; 19 width: 224px; 20 display: flex; 21 align-items: center; 22 justify-content: center; 23 margin-inline: auto; 24 background: #131313; 25 border-radius: 100%; 26} 27 28.card__img svg { 29 width: 154px; 30 height: 154px; 31 border-radius: 100%; 32} 33 34.card__title { 35 font-weight: 500; 36 font-size: 28px; 37 color: var(--main-color); 38 text-align: center; 39 margin-bottom: 10px; 40} 41 42.card__subtitle { 43 font-weight: 400; 44 font-size: 16px; 45 color: var(--sub-main-color); 46 text-align: center; 47 cursor: pointer; 48} 49 50.card__wrapper { 51 display: flex; 52 flex-direction: row; 53 justify-content: space-between; 54 align-items: center; 55 gap: 10px; 56 margin-top: 20px; 57} 58 59.card__time { 60 font-weight: 400; 61 font-size: 12px; 62 color: var(--main-color); 63} 64 65.card__timeline { 66 width: 100%; 67 height: 4px; 68 display: flex; 69 align-items: center; 70 cursor: pointer; 71} 72 73.card__timeline progress { 74 width: 100%; 75 height: 100%; 76 border-radius: 100px; 77} 78 79.card__timeline progress::-webkit-progress-bar { 80 background-color: #424242; 81 border-radius: 100px; 82} 83 84.card__timeline progress::-webkit-progress-value { 85 background-color: #fff; 86 border-radius: 100px; 87} 88 89.card__btn { 90 border: none; 91 background: transparent; 92 cursor: pointer; 93} 94 95.card__btn path { 96 fill: var(--main-color); 97} 98 99.card__btn-play { 100 width: 60px; 101 height: 60px; 102 background: var(--main-color); 103 border-radius: 50%; 104 display: flex; 105 justify-content: center; 106 align-items: center; 107} 108 109.card__btn-play path { 110 fill: var(--bg-color); 111} 112 113
1.9K views
1.9K views
Comments
Variations
1 MIT License