<!doctype html> <html> <head> <meta charset="UTF-8"> <title>文字毛玻璃效果</title> <style> div.a { font-size: 20px; height: 80px; line-height: 80px; box-shadow: 1px 1px 2px 2px #ccc; color: rgba(0,0,0,0.3); text-shadow: 0 0 10px black; width: 200px; text-align: center; } </style> </head> <body> <div class="a">文字毛玻璃效果</div> </body> </html>
欢迎分享本文,转载请保留出处:前端ABC » css文字毛玻璃效果(阴影)