<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<style>
.div1{
font-size: 100px;
font-family: 华文行楷;
color:cyan;
font-weight:400;
text-shadow:5px 5px 5px #142a16;
}
.div2{
width:200px;
height:200px;
background-color:red;
box-shadow:5px 5px 10px #142a16;
}
</style>
<body>
<div class="div1">刘锦程</div>
<div class="div2"></div>
</body>
</html>
实现盒子和文字的阴影效果
于 2022-05-02 09:54:11 首次发布