3 回答

qq_非誠勿擾_3
TA貢獻37條經(jīng)驗 獲得超16個贊
如果div元素設置了圓角,那陰影也會是圓的
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
.radius{
height:50px;
width:50px;
position:absolute;
top:-60px;
background-color:#ccc;
border:1px solid;
border-radius:25px;?
box-shadow:100px 100px 5px #888888;
}
</style>
</head>
<body>
<div class="radius"></div>
</div>
</body>
</html>
添加回答
舉報
0/150
提交
取消