如何在不将文本推到下方的情况下为文本添加阴影? [英] How do I add shadow to text without pushing the text below away?

查看:71
本文介绍了如何在不将文本推到下方的情况下为文本添加阴影?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在白色的html5视频上面区域,所以我试图添加阴影,它打破了2个文本之间的距离,并推出了一个图片,有没有办法正确地做到这一点?



我尝试了什么:



我正在使用的代码atm看起来像这样?任何帮助将不胜感激。



I have to text areas on top of a html5 video in white so i'm trying to add shadow to it which breaks the distance between the 2 text and pushes one out of the picture is there any way to do this correctly?

What I have tried:

The code i'm using atm looks like this? Any help would be greatly appreciated.

<p style="px;color:#fff;text-shadow:2px 2px 8px #000;"><b>Text #1</b></p>
<p style="px;color:#fff;text-shadow:2px 2px 8px #000;"><b>Text #2</b></p>

推荐答案

这篇关于如何在不将文本推到下方的情况下为文本添加阴影?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆