<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ネオン文字</title>
<style>
body {
background-color: #ffffff;
font-family: "Noto Sans JP", "Noto Sans CJK JP", "源ノ角ゴシック", sans-serif;
font-size: 1rem;
padding: 20px;
}
.neon {
color: #ffffff;
/* 陰影の色 */
text-shadow:
0 0 2px rgb(255 127 191 / 1),
1px 0 3px rgb(255 127 191 / 1),
-1px 0 3px rgb(255 127 191 / 1),
0 1px 3px rgb(255 127 191 / 1),
0 -1px 3px rgb(255 127 191 / 1),
1px 1px 5px rgb(255 127 191 / 0.9),
-1px -1px 5px rgb(255 127 191 / 0.9),
1px -1px 5px rgb(255 127 191 / 0.9),
-1px 1px 5px rgb(255 127 191 / 0.9),
0 0 10px rgb(255 127 191 / 0.8),
0 0 20px rgb(255 127 191 / 0.7),
0 0 30px rgb(255 127 191 / 0.6);
}
</style>
</head>
<body>
<p class="neon">これは均等に光るネオン文字のサンプルです。</p>
</body>
</html>
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.