Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css 的 text-shadow 生成图片后没有阴影效果 #37

Open
lujihong opened this issue Jul 30, 2023 · 4 comments
Open

css 的 text-shadow 生成图片后没有阴影效果 #37

lujihong opened this issue Jul 30, 2023 · 4 comments
Labels

Comments

@lujihong
Copy link

示例如下:

h1{
  display: flex;
  justify-content: center;
  font-size: 30px;
  font-weight: bolder;
  color: #f00;
  -webkit-text-stroke: 1px white;
  text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.3); /* 设置向下的阴影效果 */
  border-radius: 8px;
  padding: 0 2px;
  white-space: nowrap;
}
@lujihong
Copy link
Author

lujihong commented Jul 31, 2023

测试环境:IOS16.51 微信8.0.39,安卓下微信我测试是正常的

@zhoushan1
Copy link

我在ios下,也出现了阴影效果异常的情况

@qq15725 qq15725 added the Safari label Sep 10, 2023
@Wangnov
Copy link

Wangnov commented Apr 23, 2024

在iOS Safari下出现
{
-webkit-filter: blur(0.5px);
filter: blur(0.5px);
}
截图无效,blur滤镜只能设定为1或0的问题
或许应该另开issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants