使用CSS实现X射线效果
X射线效果可灰阶并弄平颜色深度。
在此过滤器中使用以下参数-
灰度并展平颜色深度。
示例
您可以尝试运行以下代码来创建X射线效果-
<html>
<head>
</head>
<body>
<img src="/css/images/logo.png" alt="CSS Logo" style="Filter: Xray" />
<p>Text Example:</p>
<div style="width: 357;
height: 50;
font-size: 30pt;
font-family: Arial Black;
color: red;
Filter: Xray;">CSS Tutorials</div>
</body>
</html>