-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.css
More file actions
47 lines (47 loc) · 907 Bytes
/
Copy pathdemo.css
File metadata and controls
47 lines (47 loc) · 907 Bytes
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
iframe {
border: none;
}
.button {
border-radius: 30px;
border: 2px outset gray;
width: 296px;
height: 146px;
}
#freebeer {
background-image: url(img/beer.png);
background-color: white;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
justify-content: center;
}
#freebeer::after {
content: "Free beer!";
text-align: center;
font-family: sans-serif;
font-size: 56px;
font-weight: bolder;
color: red;
animation-name: blink;
animation-duration: 1s;
animation-timing-function: steps(2);
animation-iteration-count: infinite;
animation-direction: normal;
animation-play-state: running;
}
#response {
display: inline-block;
font-size: 36px;
text-align: center;
border: 1px solid black;
}
@keyframes blink {
0% {
visibility: visible;
}
50% {
visibility: hidden;
}
}