-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ec96a1
commit b26c47c
Showing
5 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Skill Bar | ||
<img src="./image.jpg"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |