JSFiddle - React, Tailwind, and code Playground
HTML
<div id="wp-header">
<header>
<h1>Animasi Skill Bar - <a href="http://www.dumetschool.com/" target="_blank">www.dumetschool.com</a></h1>
<h3><a href="http://www.dumetschool.com/blog" target="_blank">Kembali ke Tutorial</a></h3>
</header>
<div class="content">
<div class="col">
<h2>My Skill</h2>
<ul id="skill">
<li><span class="expand html5"></span><em>HTML 5</em></li>
<li><span class="expand css3"></span><em>CSS 3</em></li>
<li><span class="expand php"></span><em>PHP & MYSQL</em></li>
<li><span class="expand photoshop"></span><em>Photoshop</em></li>
<li><span class="expand javascript"></span><em>Javascript</em></li>
</ul>
</div>
</div>
</div><!-- Wp Header -->
CSS
/*****************************
SELAMAT DATANG DI DUMET SCHOOL
*****************************/
* {margin: 0; padding: 0;}
a {
text-decoration: none;
color: #FFF;
}
body {
font-family: Arial, Helvetica, sans-serif;
color: #ccc;
background: #518276;
}
#wp-header {
margin: auto;
width: 700px;
padding: 10px;
}
#wp-header header {
padding: 20px 0 0 0;
}
#wp-header header h3 {
margin-bottom: 20px;
}
#wp-header header a {
text-transform: none;
color: #F90;
}
#wp-header header a:hover {
text-decoration: underline;
}
/**********************
STYLE ANIMASI SKILL BAR
**********************/
.content {
float: left;
font-size: 12px;
line-height: 20px;
margin: 0;
padding: 20px 0;
position: relative;
width: 500px;
}
.col {
width: 500px;
}
.col h2 {
display: block;
padding-bottom: 20px;
font-size: 25px;
}
#skill {
list-style: none;
padding-top: 25px;
}
#skill li {
background: #EBEBEB;
height: 10px;
margin-bottom: 70px;
border-radius: 5px;
border: 1px solid #666;
}
#skill li em {
position: relative;
top: -25px;
}
.expand1 {
height: 6px;
background-color:#EA3556;
margin: 2px 0;
position: absolute;
}
.expand {
height: 6px;
background-color:#EA3556;
margin: 2px 0;
position: absolute;
}
.html5 { width:95%; -moz-animation:html5 4s ease-out; -webkit-animation:html5 4s ease-out;}
.css3 { width:80%; -moz-animation:css3 4s ease-out; -webkit-animation:css3 4s ease-out;}
.php { width:40%; -moz-animation:php 4s ease-out; -webkit-animation:php 4s ease-out;}
.photoshop { width:70%; -moz-animation:photoshop 4s ease-out; -webkit-animation:photoshop 4s ease-out;}
.javascript { width:30%; -moz-animation:javascript 4s ease-out; -webkit-animation:javascript 4s ease-out;}
@-moz-keyframes html5 { 0% { width:0px;} 100%{ width:95%;} }
@-moz-keyframes css3 { 0% { width:0px;} 100%{ width:80%;} }
@-moz-keyframes php { 0% { width:0px;} 100%{ width:40%;} }
@-moz-keyframes photoshop { 0% { width:0px;} 100%{...