<h1>This is 3D TEXT</h1>
* {
margin: 0;
padding: 0;
}
h1 {
height: 100vh;
line-height: 100vh;
text-align: center;
color: #fff;
background-color: rgb(0, 128, 122);
outline: none;
user-select: none;
font-size: 5em;
text-shadow: -1px 1px #bbb, -2px 2px #bbb, -3px 3px #bbb, -4px 4px #bbb, -5px 5px #bbb, -12px 12px 3px #666;
}
效果: