"Open Sign"
Bootstrap 4.1.1 Snippet by Umerfarooq

1
2
3
4
5
6
7
8
9
10
11
12
13
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div>
<p>
<span>O</span>
<span>P</span>
<span>E</span>
<span>N</span>
</p>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
@import url(https://fonts.googleapis.com/css?family=Roboto:100);
:root {
--text-color: #f00;
--border-color: #3da7f8;
--animation-time: 1s;
--text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 5px var(--text-color),
0 0 10px var(--text-color), 0 0 10px var(--text-color),
0 0 10px var(--text-color), 0 0 10px var(--text-color),
0 0 20px var(--text-color), 0 0 30px var(--text-color),
0 0 40px var(--text-color), 0 0 55px var(--text-color),
0 0 75px var(--text-color);
--box-shadow: inset 0 0 50px var(--border-color), 0 0 10px var(--border-color),
0 0 20px var(--border-color), 0 0 30px var(--border-color);
}
body {
margin: 0px;
background: #00061c;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
div {
background-color: transparent;
border: 3px solid rgba(255, 255, 255, 0.33);
border-radius: 20px;
padding: 14px 24px;
transform: rotate(-6deg);
animation: turnOnBorder 0.24s forwards step-end,
flickerBorder calc(var(--animation-time) * 16) infinite step-end 1s;
}
p {
font-family: Roboto;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const setProperty = (duration) => {
document.documentElement.style.setProperty(
"--animation-time",
duration + "s"
);
};
const changeAnimationTime = () => {
const animationDuration = Math.random();
setProperty(animationDuration);
};
setInterval(changeAnimationTime, 1000);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: