Skip to content

Commit

Permalink
skill bar addded
Browse files Browse the repository at this point in the history
  • Loading branch information
Lavish-Bansal committed Oct 17, 2021
1 parent 9ec96a1 commit b26c47c
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
| Captain America Animation | https://jonathanallisson.github.io/Captain/ |
| Plane Animation | https://jonathanallisson.github.io/plane/ |
| Isometric social media icon | https://lavishbansal17.github.io/Isometric-social-media-icon/ |
| Skill Bar | https://lavishbansal17.github.io/Skill-Bar/ |
- --

![Project Intro Gif](./Gif.gif)
Expand Down
Binary file added Skill Bar/image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions Skill Bar/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Skill Bar</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<h2>Skill Bar Design</h2>
<div class="skills">
<span class="Name">HTML</span>
<div class="percent">
<div class="progress" style="width: 95%"></div>
</div>
<span class="value">95%</span>
</div>
<div class="skills">
<span class="Name">CSS</span>
<div class="percent">
<div class="progress" style="width: 85%"></div>
</div>
<span class="value">85%</span>
</div>
<div class="skills">
<span class="Name">Javascript</span>
<div class="percent">
<div class="progress" style="width: 75%"></div>
</div>
<span class="value">75%</span>
</div>
</div>
<footer>
<div>
<p>
Credit :-
<a href="https://github.com/Lavish-Bansal" target="/"
>Lavish Bansal</a
>
</p>
</div>
<div class="date">Date :- 17-10-2021</div>
</footer>
</body>
</html>
2 changes: 2 additions & 0 deletions Skill Bar/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Skill Bar
<img src="./image.jpg">
106 changes: 106 additions & 0 deletions Skill Bar/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #2e2e2e;
}
.container {
position: relative;
width: 500px;
}
.container h2 {
color: #fff;
}
.container .skills {
position: relative;
display: flex;
margin: 20px 0;
padding: 24px 10px 18px;
background: linear-gradient(#616161 0%, #333 10%, #222);
border-radius: 8px;
overflow: hidden;
border: 2px solid #000;
transition: 0.5s;
}
.container:hover .skills {
opacity: 0.05;
}
.container .skills:hover {
opacity: 1;
}
.container .skills:before {
content: "";
position: relative;
top: 0;
left: 0;
width: 100%;
height: 50%;
background: rgba(255, 255, 255, 0.1);
z-index: 10;
}
.container .skills .Name {
position: relative;
width: 110px;
text-align: right;
color: #fff;
margin-top: -2px;
text-transform: uppercase;
}
.container .skills .value {
position: relative;
width: 40px;
text-align: left;
color: #fff;
margin-top: -2px;
text-transform: uppercase;
}
.container .skills .percent {
position: relative;
width: calc(400% - 150px);
height: 20px;
margin: 0 10px;
border-radius: 10px;
background: #151515;
box-shadow: inset 0 0 10px #000;
overflow: hidden;
}
.container .skills .percent .progress {
position: absolute;
top: 0;
left: 0;
width: 70%;
height: 100%;
border-radius: 10px;
background: #fff;
box-shadow: inset 0 0 2px #000;
animation: animate 4s ease-in-out forwards;
}
@keyframes animate {
from {
width: 0;
}
}
.container .skills:nth-child(2) .percent .progress {
background: linear-gradient(45deg, #1fe6ff, #673ab7);
}
.container .skills:nth-child(3) .percent .progress {
background: linear-gradient(45deg, #3bc0ff, #33ff00);
}
.container .skills:nth-child(4) .percent .progress {
background: linear-gradient(45deg, #ffee54, #ff00ca);
}
footer {
position: relative;
color: yellow;
top: 19rem;
right: 53rem;
}
footer a {
color: white;
}

0 comments on commit b26c47c

Please sign in to comment.