<h1 class="neonText">
neon lights
</h1>
<style>
.neonText {
color: #fff;
text-shadow:
0 0 7px #fff,
0 0 10px #fff,
0 0 21px #fff,
0 0 42px #bc13fe,
0 0 82px #bc13fe,
0 0 92px #bc13fe,
0 0 102px #bc13fe,
0 0 151px #bc13fe;
}
body {
font-size: 18px;
font-family: "Sacramento", sans-serif;
background-color: #010a01;
display: flex;
justify-content: center;
align-items: center;
}
h1, h2 {
text-align: center;
font-weight: 400;
}
h1 {
font-size: 6.2rem;
animation: pulsate 1.5s infinite alternate;
border: 0.2rem solid #fff;
bord
CSS 创建霓虹文字
最新推荐文章于 2025-05-21 21:02:54 发布