Skip to content

Commit d7f2f5e

Browse files
committed
md
1 parent 35c4d43 commit d7f2f5e

File tree

4 files changed

+100
-62
lines changed

4 files changed

+100
-62
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/imgmd

Loading border/index.html

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Loading Border</title>
8+
<link rel="stylesheet" href="style.css" />
9+
</head>
10+
<body>
11+
<div class="container active">
12+
<span class="overlay" id="percent">0%</span>
13+
</div>
14+
15+
<script>
16+
const container = document.querySelector(".container"),
17+
percent = document.querySelector("#percent");
18+
19+
let perVal = 0;
20+
21+
let increament = setInterval(() => {
22+
perVal++;
23+
percent.textContent = `${perVal}%`;
24+
25+
if (perVal == 100) {
26+
clearInterval(increament);
27+
container.classList.remove("active");
28+
}
29+
}, 100);
30+
</script>
31+
</body>
32+
</html>

Loading border/style.css

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
font-family: 'Lucida Sans', sans-serif;
6+
}
7+
8+
body {
9+
height: 100vh;
10+
background-color: #131221;
11+
}
12+
13+
body,
14+
.container,
15+
.overlay {
16+
display: flex;
17+
align-items: center;
18+
justify-content: center;
19+
}
20+
21+
.container {
22+
position: relative;
23+
height: 450px;
24+
width: 350px;
25+
border-radius: 16px;
26+
background-color: #fff;
27+
overflow: hidden;
28+
}
29+
30+
.container.active {
31+
background-color: #000;
32+
}
33+
34+
.container::before {
35+
content: "";
36+
position: absolute;
37+
height: 650px;
38+
width: 650px;
39+
background-image: conic-gradient(transparent, transparent, transparent, #fff);
40+
}
41+
42+
.container.active:before {
43+
animation: rotate 4s linear infinite;
44+
}
45+
46+
@keyframes rotate {
47+
0% {
48+
transform: rotate(0deg);
49+
}
50+
51+
100% {
52+
transform: rotate(360deg);
53+
}
54+
}
55+
56+
.container .overlay {
57+
position: absolute;
58+
height: 440px;
59+
width: 340px;
60+
font-size: 40px;
61+
font-weight: 500;
62+
color: #fff;
63+
border-radius: 12px;
64+
background-color: #131221;
65+
}

README.md

+2-62
Original file line numberDiff line numberDiff line change
@@ -5,68 +5,8 @@ it is made by me while learning the javascript from Youtube , Chat Gpt , Udemy
55

66
# This is All the javascript Project
77

8-
-AI Image generator
8+
# Examples
99

10-
-Age Calculator
11-
12-
-Calculator
13-
14-
-Background remover
15-
16-
-Clock
17-
18-
-Countdown Timer
19-
20-
-Cube-Game
21-
22-
-Drag and Drop
23-
24-
-Guessmynumber
25-
26-
-Image search engine
27-
28-
-MelodyVerse
29-
30-
-MemeGenrator
31-
32-
-Music Player
33-
34-
-Notifications
35-
36-
-Parallax Scrolling
37-
38-
-Password Strength
39-
40-
-Password generator
41-
42-
-music player
43-
44-
-QR generator
45-
46-
-Quiz App
47-
48-
-Text animations
49-
50-
-To Do List
51-
52-
-Weath App
53-
54-
-WhiteBoard
55-
56-
-brainjs
57-
58-
-css animations
59-
60-
-acess key
61-
62-
-pacman
63-
64-
-img engine
65-
66-
-testing
67-
68-
-portfollio
69-
70-
-xx-trash
10+
![Alt Text](</Imgmd/1%20(1).png>)
7111

7212
# Feel free to Commit Changes

0 commit comments

Comments
 (0)