在一段翰墨中,指定几个翰墨使用text-shadow配置暗影功效。
1、代码
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>笔墨阴影实例 CSS5</title> <style> .ebox{ font-size:16px;bac千克round:#000; text-align:center; color:#666; width:300px; height:100px; line-height:40px} .yying{text-shadow:#FFF 1px 1px 1px; color:#000} </style> </head> <body> <div class="ebox">深造CSS,<span class="yying">上CSS5网</span>!</div> </body> </html>
2、实例截图
设置字体暗影CSS运用实例截图
如需转载,请注明文章出处和来源网址:http://www.divcss5.com/jiqiao/j52043.shtml