File tree Expand file tree Collapse file tree 3 files changed +52
-0
lines changed
Components/Backgrounds/Vintage-Sepia-Film-Background Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
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 >
Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change 209
209
"previewLink" : " ../../Components/Backgrounds/Swirl-Animation-Background/index.html" ,
210
210
"sourceLink" : " https://github.com/Rakesh9100/Beautiify/tree/main/Components/Backgrounds/Swirl-Animation-Background"
211
211
},
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
+ },
212
217
{
213
218
"title" : " Waves Background" ,
214
219
"previewLink" : " ../../Components/Backgrounds/Waves-Background/index.html" ,
You can’t perform that action at this time.
0 commit comments