Progress Bar with html and css ( Source code ) HTML Adam Smith Personality (90%) Creativity (85%) Stamina (90%) CSS body { height: 100vh; color: #fff; font-family: poppins; background: #262626; } .wrapper { width: 400px; margin: 0 auto; position: relative; font-size: 14px; line-height: 28px; padding: 30px 0 30px; } .wrapper h2 { font-size: 30px; text-transform: uppercase; margin-bottom: 15%; text-align: left; } .wrapper img { width: 100%; } .skills-area { width: 100%; } .single-skill { list-style: none; margin: 0; padding: 0; } .single-skill li { margin-bottom: 50px; height: 15px; } .single-skill li b { position: relative; top: -30px; font-size: 20px; } .line { height: 5px; margin: 2px 0; background: #fafafa; position: absolute; } .personality { width: 90%; -moz-animation: Personality 2s ease-out; -webkit-animation: Personality 2s ease-out; } .creativity { width: 85%; -moz-animation: Creativity 2s ease-out; -webkit-animation: Creativity 2s ease-out; } .stamina { width: 90%; -moz-animation: stamina 2s ease-out; -webkit-animation: stamina 2s ease-out; } @-moz-keyframes Personality { 0% { width: 0; } 100% { width: 90%; } } @-moz-keyframes Creativity { 0% { width: 0; } 100% { width: 85%; } } @-moz-keyframes stamina { 0% { width: 0; } 100% { width: 90%; } }
No comments