Skip to content

Commit b1716ef

Browse files
committed
Added Vintage Sepia film Background
1 parent 8140535 commit b1716ef

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Vintage Film Effect</title>
7+
<link rel="stylesheet" href="style.css">
8+
</head>
9+
<body>
10+
<div class="film-grain"></div>
11+
<div class="scratches"></div>
12+
</body>
13+
</html>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
body {
2+
margin: 0;
3+
height: 100vh;
4+
background: radial-gradient(circle, #a78c7b, #4a4031);
5+
overflow: hidden;
6+
}
7+
8+
.film-grain {
9+
position: absolute;
10+
width: 100%;
11+
height: 100%;
12+
background: url('https://www.transparenttextures.com/patterns/noise-pattern.png');
13+
opacity: 0.2;
14+
animation: flicker 0.5s infinite alternate;
15+
}
16+
17+
.scratches {
18+
position: absolute;
19+
width: 100%;
20+
height: 100%;
21+
background: url('https://www.transparenttextures.com/patterns/old-wall.png');
22+
opacity: 0.1;
23+
animation: moveScratches 4s infinite linear;
24+
}
25+
26+
@keyframes flicker {
27+
0% { opacity: 0.2; }
28+
100% { opacity: 0.3; }
29+
}
30+
31+
@keyframes moveScratches {
32+
0% { transform: translateY(0); }
33+
100% { transform: translateY(-100px); }
34+
}

assets/json_files/backgrounds.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,11 @@
209209
"previewLink": "../../Components/Backgrounds/Swirl-Animation-Background/index.html",
210210
"sourceLink": "https://github.com/Rakesh9100/Beautiify/tree/main/Components/Backgrounds/Swirl-Animation-Background"
211211
},
212+
{
213+
"title": "Vintage Sepia Film Background",
214+
"previewLink": "../../Components/Backgrounds/Vintage-Sepia-Film-Background/index.html",
215+
"sourceLink": "https://github.com/Rakesh9100/Beautiify/tree/main/Components/Backgrounds/Vintage-Sepia-Film-Background"
216+
},
212217
{
213218
"title": "Waves Background",
214219
"previewLink": "../../Components/Backgrounds/Waves-Background/index.html",

0 commit comments

Comments
 (0)