Im heutigen Tutorial zeige ich euch wie man eine coole Neon Leuchtschrift macht in dem man die CSS Schattenfunktion verwendet.
Video / Anleitung
Google Font
1
| <link href="https://fonts.googleapis.com/css?family=Bungee+Outline&display=swap" rel="stylesheet"> |
<link href="https://fonts.googleapis.com/css?family=Bungee+Outline&display=swap" rel="stylesheet">
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
29
30
31
32
33
34
35
36
37
| .container {
font-family: 'Bungee Outline', cursive;
height: 500px;
width: 500px;
margin: auto;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color:#242424;
font-size: 60px;
text-align: center;
letter-spacing: 12px;
color: #ffffff;
}
.neon1 {
text-shadow: 0 0 5px #39ff14,
0 0 20px #39ff14,
0 0 40px #39ff14,
0 0 60px #39ff14;
}
.neon2 {
text-shadow: 0 0 5px #4d4dff,
0 0 20px #4d4dff,
0 0 40px #4d4dff,
0 0 60px #4d4dff;
}
.neon3 {
text-shadow: 0 0 5px #ff69b4,
0 0 20px #ff69b4,
0 0 40px #ff69b4,
0 0 60px #ff69b4;
} |
.container {
font-family: 'Bungee Outline', cursive;
height: 500px;
width: 500px;
margin: auto;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color:#242424;
font-size: 60px;
text-align: center;
letter-spacing: 12px;
color: #ffffff;
}
.neon1 {
text-shadow: 0 0 5px #39ff14,
0 0 20px #39ff14,
0 0 40px #39ff14,
0 0 60px #39ff14;
}
.neon2 {
text-shadow: 0 0 5px #4d4dff,
0 0 20px #4d4dff,
0 0 40px #4d4dff,
0 0 60px #4d4dff;
}
.neon3 {
text-shadow: 0 0 5px #ff69b4,
0 0 20px #ff69b4,
0 0 40px #ff69b4,
0 0 60px #ff69b4;
}
HTML
1
2
3
4
5
| <div class="container">
<div class="neon1">Ich</div>
<div class="neon2">bin</div>
<div class="neon3">Blogger</div>
</div> |
<div class="container">
<div class="neon1">Ich</div>
<div class="neon2">bin</div>
<div class="neon3">Blogger</div>
</div>
0 Kommentare
Trackbacks/Pingbacks