File size: 1,511 Bytes
646ba5f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html>
<head>
  <style>@keyframes swing {
  from {
    transform: rotate(-77deg);
    opacity: 0; }
  20% {
    transform: rotate(45deg); }
  40% {
    transform: rotate(-35deg); }
  60% {
    transform: rotate(20deg); }
  80% {
    transform: rotate(-15deg); }
  to {
    transform: rotate(0deg);
    opacity: 1; } }

.swing {
  animation-name: swing;
  animation-duration: 1s; }

body {
  background-color: #808285; }

.sign {
  width: 5px;
  height: 5px;
  position: relative;
  top: 100px;
  left: 50%;
  margin-left: -2px;
  border-radius: 50%;
  border: 4px solid white; }
  .sign:before {
    content: "";
    display: block;
    width: 4px;
    height: 60px;
    background-color: white;
    position: absolute;
    top: 2px;
    left: -1px;
    transform: rotate(45deg);
    transform-origin: top left;
    border-radius: 5px; }
  .sign:after {
    content: "";
    display: block;
    width: 4px;
    height: 60px;
    background-color: white;
    position: absolute;
    top: 4px;
    left: 4px;
    transform: rotate(-45deg);
    transform-origin: top left;
    border-radius: 5px; }

p {
  width: 100px;
  height: 50px;
  position: absolute;
  top: 42px;
  left: -50px;
  border: 4px solid white;
  border-radius: 2px;
  color: white;
  font-family: sans-serif;
  font-size: x-large;
  text-align: center; }
  p span {
    height: 50px;
    line-height: 50px; }
</style>
</head>
<body>
  <div class="sign swing">
  <p><span>OPEN</span></p>
</div>
  <script></script>
</body>
</html>