-
Notifications
You must be signed in to change notification settings - Fork 0
/
autoformation.html
110 lines (104 loc) · 3.62 KB
/
autoformation.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
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML/CSS</title>
<style>
*{
margin: 0;
padding: 0;
font-family: 'poppins',sans-serif;
box-sizing: border-box;
}
.container{
width: 100%;
height: 100vh;
background-image: url(webdev.jpg);
background-position: center;
background-size: cover;
padding: 0 8%;
}
.content{
top: 50%;
position:absolute;
transform: translateY(-50%);
color: #fff;
}
.content p{ font-size: 20px; font-family:'poppins',sans-serif;}
.content h1{font-size: 64px;font-weight: 600;}
.content button{
background:transparent;
border: 2px solid #fff;
padding: 12px 25px;
color: #fff;
margin-top: 10px;
border-top-right-radius: 30px ;
border-bottom-left-radius: 30px;
}
.content button:hover{
transition: all 0.3s ease-in-out;
transform: scale(1.1);
background-color:#e28124;
}
.content button a{
color: #fff;
text-decoration: none;
font-size: 20px;
font-family: sans-serif;
}
.launchtime{
display: flex;
}
.launchtime div{flex-basis: 100px;text-align: center;}
.launchtime div p{font-size: 60px; margin-bottom:-14px ;}
.launchtime p{padding-bottom: 5px;}
</style>
<script>
var countDownDate = new Date("nov 24, 2023 20:00:00").getTime();
var x = setInterval(function(){
var now = new Date().getTime();
var distance = countDownDate - now;
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
document.getElementById("days").innerHTML = days;
document.getElementById("hours").innerHTML = hours;
document.getElementById("minutes").innerHTML = minutes;
document.getElementById("seconds").innerHTML = seconds;
}, 1000);
</script>
</head>
<body>
<div class="container">
<div class="content">
<p>Formation HTML et CSS en ligne<br>
html css application a zero<br>
Vendredi, 24 novembre · 8:00 à 9:00pm<br>
Fuseau horaire : Africa/Casablanca<br>
Informations de connexion Google Meet
</p>
<h1>Rejoignez-nous sur Meet</h1>
<button type="button"><a href="https://meet.google.com/zwk-djjw-sqh">Participer avec Google Meet</a></button>
<div class="launchtime">
<div>
<p id="days">00</p>
<span>Days</span>
</div>
<div>
<p id="hours">00</p>
<span>Hours</span>
</div>
<div>
<p id="minutes">00</p>
<span>Minutes</span>
</div>
<div>
<p id="seconds">00</p>
<span>Seconds</span>
</div>
</div>
</div>
</body>
</html>