-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
101 lines (89 loc) · 4.43 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Merry Christmas</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<link rel="icon" type="image/x-icon" href="/favicon/7703christmas_tree.ico">
<script src="https://kit.fontawesome.com/69b5654055.js" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap" rel="stylesheet">
<meta property="og:site_name" content="Christmas card">
<meta property="og:title" content="Merry Christmas"/>
<meta property="og:description" content="Merry Christmas"/>
<meta property="og:type" content="website"/>
<meta property="og:image" content="http://christmas.piero-sabino.it/img/christmas.png">
<meta property="og:image" content="http://christmas.piero-sabino.it/img/christmas01.png">
<meta property="og:url" content="http://christmas.piero-sabino.it/"/>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="http://christmas.piero-sabino.it/">
<meta name="twitter:creator" content="@SabinoPiero">
<meta name="twitter:title" content="Christmas card">
<meta name="twitter:description" content="Merry Christmas">
<meta name="twitter:image" content="http://christmas.piero-sabino.it/img/christmas01.png">
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0' />
<meta name="keywords" content="Christmas card, merry Christmas, Christmas">
<meta name="author" content="Piero Sabino">
<meta name="description" content="Merry Christmas">
</head>
<body>
<div class="snow layer1 a"></div>
<div class="snow layer1"></div>
<div class="snow layer2 a"></div>
<div class="snow layer2"></div>
<div class="snow layer3 a"></div>
<div class="snow layer3"></div>
<div class="container">
<p>
<img src="img/star.svg" class="star"><br>
<img src="/img/mistletoe.svg" class="mistletoe">
We
<img src="/img/mistletoe.svg" class="mistletoe">
<br/>
<img src="/img/light.svg" class="light">
wish
<img src="/img/light.svg" class="light">
<br/>
<img src="/img/star_01.svg" class="star1">
you a
<img src="/img/star_01.svg" class="star1">
<br/>
<img src="/img/christmas-ball.svg" class="ball">
Merry
<img src="/img/christmas-ball.svg" class="ball">
<br/>
<img src="/img/candle.svg" class="candle">
Christmas
<img src="/img/candle.svg" class="candle">
<br/>
<img src="/img/gift-box.svg" class="box" >
</p>
</div>
<div class="music">
<audio id="myMusic" src="music/Happy Xmas (War Is Over).mp3" loop=""></audio>
<button class="btn_music">
<i class="far fa-play-circle"></i>
<i class="far fa-pause-circle"></i>
</button>
</div>
<script>
$(document).ready(function(){
$(".btn_music .fa-play-circle").on('click', function(){
$(this).hide();
$('.fa-pause-circle').fadeIn();
$('#myMusic')[0].play();
$('.snow').show();
})
$(".btn_music .fa-pause-circle").on('click', function(){
$(this).hide();
$('.fa-play-circle').fadeIn();
$('#myMusic')[0].pause();
$('.snow').hide();
})
})
</script>
</body>
</html>