html
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
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div class="countdown">
<div class="number">
<h2>10</h2>
</div>
<div class="number">
<h2>9</h2>
</div>
<div class="number">
<h2>8</h2>
</div>
<div class="number">
<h2>7</h2>
</div>
<div class="number">
<h2>6</h2>
</div>
<div class="number">
Enter to Rename, Shift+Enter to Preview
css
css
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
@import url('https://fonts.googleapis.com/css2?family=David+Libre:wght@500&display=swap');
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: radial-gradient( #ff8080, #bf80ff);
font-family: 'David Libre', serif;
}
.countdown {
position: relative;
width: 400px;
height: 400px;
transform-style: preserve-3d;
perspective: 1000px;
}
.countdown:before {
content: '';
position: absolute;
bottom: -50px;
left: 0;
width: 100%;
height: 10px;
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run