Home Web Front-end CSS Tutorial CSS filters implement various text effects

CSS filters implement various text effects

May 16, 2016 pm 12:12 PM

CSS filters are used to modify text and achieve various beautiful text effects. CSS filter() is indeed a good thing. If you use it well, it will make the text on your web page more beautiful and attractive. The CSS effect on this page A total of various effects such as dropshadow, glow, alpha, progid, progid:DXImageTransform.Microsoft.wave, progid:DXImageTransform.Microsoft.Shadow, etc. are demonstrated, including almost all CSS filters, which is quite good.

<html>
<head>
<title>css滤镜实现各种文字效果</title>
<meta http-equiv=content-Type content="text/html;charset=gb2312">
<style>
.abc {  line-height: 22px}
.t12 {
font-family:微软雅黑;   
font-size: 15px;
font-weight: lighter;
color: ##C3C1C1; 
Filter: dropshadow(color=#ffffff,offx=1,offy=1);
 TEXT-ALIGN: center; 
 TEXT-DECORATION: none
}
</style>
</head>
<body bgcolor=#C3C1C1 style="FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=1,startColorStr=green,endColorStr=white);">
<center>
<table>
  <tr>
 <td style="FILTER: glow(color:#308148,strength=5);color: #ffffff;font-size:18px;font-family:隶书">今夜你会不会来,你的爱还在不在?</TD>
  </tr>
</table>
<br><br>
<span style="color:#09ff11;font: italic 900 16pt 隶书;width: 220;filter: shadow(color=red,direction=135);">自己动手 丰衣足食</span>
<br><br>
<table bgcolor=#aaaaaa style="FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=1,startColorStr=green,endColorStr=white);"><tr><td style="filter:dropshadow(offX=1,offY=1,color=#000000);color:#ffffff;font-size:18px;font-family:华文行楷">雅语独喃<b><font color=&#39;#22FF22&#39;>知</font><font color=&#39;#FF2222&#39;>往</font><font color=&#39;#001199&#39;>观</font><font color=&#39;#00fffa&#39;>来</font></b></td></tr></table>
<br><br>
<style type="text/css">.3dfont { FILTER: glow(color=lime,strength=0) shadow(color=lime,direction:135); WIDTH: 678;font-family:隶书;font-size:16px; } </style>
<center>
<table border="0" width="569"><tr><td width="100%" class="3dfont"><font color="#008040">身高不过1米68,腰圆腿粗像西瓜,头大嘴小鼻梁趴,一张大嘴缺门牙!</font></td></tr></table>
<br><br>
<table width="400" border="1" cellspacing="0" cellpadding="0" align="center" bordercolor="#999999" bgcolor="#D1D2A4">
  <tr> 
 <td style="padding:15px;letter-spacing:3px; COLOR: #6b6c35; FILTER: dropshadow(color=#ffffcc,offx=1,offy=1);" >北国风光,千里冰封,万里雪飘。望长城内外,惟馀莽莽;大河上下,顿失滔滔。山舞银蛇,原驰蜡象,欲与天公试比高。须晴日,看红妆素裹,分外妖娆。</td>
  </tr>
</table>
<br><br>
<table width="312" height="123" border="0" cellpadding="0" cellspacing="0">
  <tr>
 <td bgcolor="#ffdf03"><div style="filter:progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, color=black);color:orange;width:100%;font-family:华文新魏;font-size:17px;">织梦好,蚂蚁好;蚂蚁好,织梦更好</div></td>
  </tr>
</table>
<br><br>
<table width="234" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="filter:blur(add=1,direction=135,strength=7)">
  <tr>
 <th scope="row" style="font-family:华文行楷;font-size:18px;color:red;">我想让里面的字正常显示</th>
  </tr>
</table>
<br><br>
<table>
  <tr>
    <td width="510"><div style="height:1;width:100%;font-family:impact;font-size:14pt;color:deeppink;display:block; 
   filter:progid:DXImageTransform.Microsoft.wave(Strength=3)"><p align="center">看小蜜的身材怎么样?您是否已爱上了她! </div></td>
  </tr>
</table>
<table>
  <tr>
    <td width="510"><div style="filter:progid:DXImageTransform.Microsoft.engrave(bias=0.5); height:1;font-size:20pt;font-family:impact;background-color:blue"><p align="center">I just couldn&#39;t help it.</div></td>
  </tr>
  <tr>
    <td width="510"><div style="filter:progid:DXImageTransform.Microsoft.emboss(bias=0.5);height:1;font-family:impact;font-size:20pt;background-color:blue"> <p align="center">We&#39;d better be off.</div></td>
  </tr>
  <tr> 
</table>
<br><br>
<table>
  <tr> 
    <td style="FILTER: alpha(opacity=100,finishiopacity=0,style=1) shadow(color=blue,direction=135,strength=6)" align="center"><font color="blue" size="7" face="华文新魏">源码爱好者网页特效</font></td>
  </tr>
  <tr> 
    <td style="FILTER: glow(color=#bb0909,strength=2) shadow(color=#22BB09,direction=135)" align="center"><font  color=#E1E4EC size=6 face="华文新魏"><b>让自己不至于在等待回贴的过程中血气上涌</b></font></td>
  </tr>
  <tr> 
    <td style="FILTER: glow(color=yellow,strength=4) mask(color=green) chroma(color=#B4BBCF)" align="center" height=54><font color=#fa2233 size=6 face="华文彩云"><b>一个神奇的测试</b></font></td>
  </tr>
</table>
<br><br>
<style type="text/css">
.a1 {
 font-size: 32px;
 color: red;
 filter: dropshadow(color=#fa00fd,offX=1,offY=1,positives=true);
 height: 20px;
}
</style>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center"><div class="a1">看书 看棋 看美人 赏花 赏月 赏秋香</div></td>
  </tr>
</table>
</center>
</body>
</html>
Copy after login


Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Making Your First Custom Svelte Transition Making Your First Custom Svelte Transition Mar 15, 2025 am 11:08 AM

The Svelte transition API provides a way to animate components when they enter or leave the document, including custom Svelte transitions.

Working With GraphQL Caching Working With GraphQL Caching Mar 19, 2025 am 09:36 AM

If you’ve recently started working with GraphQL, or reviewed its pros and cons, you’ve no doubt heard things like “GraphQL doesn’t support caching” or

Show, Don't Tell Show, Don't Tell Mar 16, 2025 am 11:49 AM

How much time do you spend designing the content presentation for your websites? When you write a new blog post or create a new page, are you thinking about

Building an Ethereum app using Redwood.js and Fauna Building an Ethereum app using Redwood.js and Fauna Mar 28, 2025 am 09:18 AM

With the recent climb of Bitcoin’s price over 20k $USD, and to it recently breaking 30k, I thought it’s worth taking a deep dive back into creating Ethereum

Creating Your Own Bragdoc With Eleventy Creating Your Own Bragdoc With Eleventy Mar 18, 2025 am 11:23 AM

No matter what stage you’re at as a developer, the tasks we complete—whether big or small—make a huge impact in our personal and professional growth.

Vue 3 Vue 3 Apr 02, 2025 pm 06:32 PM

It&#039;s out! Congrats to the Vue team for getting it done, I know it was a massive effort and a long time coming. All new docs, as well.

A bit on ci/cd A bit on ci/cd Apr 02, 2025 pm 06:21 PM

I&#039;d say "website" fits better than "mobile app" but I like this framing from Max Lynch:

Let's use (X, X, X, X) for talking about specificity Let's use (X, X, X, X) for talking about specificity Mar 24, 2025 am 10:37 AM

I was just chatting with Eric Meyer the other day and I remembered an Eric Meyer story from my formative years. I wrote a blog post about CSS specificity, and

See all articles