最基本的几种 CSS 文字滤镜效果
作者:独虎 发布时间:2020-07-08 02:36:33
闲来无事,整理一些CSS文字效果,给初学者。下面做个例子吧,这都是最基本滤镜的应用,其实两种或几种不同滤镜的组合会获得意想不到的效果,遇到问题自己多动手试试就OK了,当然要特别注意颜色的搭配,有时候用色不好是看不出效果的,配合背景图片的应用也会有很好的效果的。因为太懒,所以没有写注释也没有写什么语法格式,自己看看吧! 嘿嘿。(看不明白别骂我呀)
1、效果图:
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
SUNNY |
SUNNY |
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
一路阳光 |
2、代码行。
<table border=1 style="border-style: solid; border-width: 1;font-size=12px" width="520">
<tr>
<td width="510">
<span style="font-size:30pt;display:block;
text-align:center;color:blue;
filter:glow(color=red,strength=10);height:1">一路阳光 </span></td>
</tr>
<tr>
<td width="510">
<span style="font-size:30pt;display:block;
text-align:center;color:darkblue;
filter:blur(add=t,direction=135,strength=10);height:1">一路阳光</span></td>
</tr>
<tr>
<td width="510">
<div style="color:red;font-size:25pt;height:1;display:block;
filter:progid:DXImageTransform.Microsoft.motionblur(strength=30,add=1,direction=135)">
<p align="center"> 一路阳光</div></td>
</tr>
<tr>
<td width="510">
<div style="height:1;width:100%;
font-family:impact;font-size:30pt;color:navy;display:block;
filter:progid:DXImageTransform.Microsoft.wave(Strength=3)">
<p align="center"> 一路阳光</div></td>
</tr>
<tr>
<td width="510">
<div style="height:1;width:100%;
font-family:impact;font-size:30pt;color:navy;display:block;
filter:progid:DXImageTransform.Microsoft.wave(Strength=3,freq=5)">
<p align="center"> 一路阳光</div></td>
</tr>
<tr>
<td width="510">
<span style="font-size:30pt;display:block;
text-align:center;color:darkblue;
filter:wave(add=t,freq=5,lightstrength=5,phase=0,strength=5);
height:1">一路阳光</span></td>
</tr>
<tr>
<td width="510">
<span style="font-size:30pt;display:block;
text-align:center;color:darkblue;
filter:shadow(color=blue);height:1">一路阳光</span></td>
</tr>
<tr>
<td width="510">
<div align="center" style="height:1;font-size:30pt;
filter:dropshadow(color=maroon,positive=1);">一路阳光</div></td>
</tr>
<tr>
<td width="510">
<div align="center" style="height:1;font-size:30pt;
filter:dropshadow(color=maroon,positive=0);">一路阳光</div></td>
</tr>
<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">SUNNY</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">SUNNY</div></td>
</tr>
<tr>
<td style="FILTER: mask(color=#E1E4EC)shadow(color=#8C96B5,direction=135)chroma(color=#E1E4EC)" align="center"><font color="blue" size="6"><b>一路阳光</b></font></td>
</tr>
<tr>
<td style="FILTER: alpha(opacity=100,finishiopacity=0,style=1)shadow(color=blue,direction=135)" align="center"><font color="blue" size="6"><b>一路阳光</b></font></td>
</tr>
<tr>
<td style="FILTER: mask(color=#E1E4EC)dropshadow(color=#B4BBCF,offx=-3,offy=-3,positive=1)chroma(color=#E1E4EC)" align="center"><font color="blue" size="6"><b>一路阳光</b></font></td>
</tr>
<tr>
<td style="FILTER: glow(color=#8C96B5,strength=2)shadow(color=#B4BBCF,direction=135)" align="center"><font color=#E1E4EC size=6><b>一路阳光</b></font></td>
</tr>
<tr>
<td style="FILTER: mask(color=#E1E4EC)shadow(color=#B4BBCF,direction=135)chroma(color=#E1E4EC)" align="center"><font
color=#8C96B5 size=6><b>一路阳光</b></font></td>
</tr>
<tr>
<td style="FILTER: glow(strength=1)mask(color=#B4BBCF)chroma(color=#B4BBCF)" align="center" height=54><font color=#8C96B5 size=6><b>一路阳光</b></font></td>
</tr>
<tr>
<td><span style="position:absolute;font-size:30pt;color=blue;filter:fliph">一路阳光</span></td>
</tr>
<tr>
<td><span style="position:absolute;left:200;font-size:30pt;color=blue;filter:flipv">一路阳光</span></td>
</tr>
</table>
<table align=center background="http://www.idc2008.com/468X60-8.gif" border=0>
<tr>
<td style="FILTER: glow(strength=4)mask(color=#E1E4EC)"><font size="7"> <b>一路阳光</b></font></td>
</tr>
</table>


猜你喜欢
- 本文实例讲述了Python连接MongoDB数据库的方法。分享给大家供大家参考,具体如下:Python使用pymongo操作MongoDB数
- 在使用Pytorch进行神经网络训练时,有时会遇到训练学习率不下降的问题。出现这种问题的可能原因有很多,包括学习率过小,数据没有进行Norm
- 代码如下: 代码如下:///<summary> /// 将两个列不同的DataTable合并成一个新的DataTab
- 如何侦测HTTP表头信息?可用下列办法侦测并显示所有的HTTP HEADERS:<HTML><HEAD><TI
- 本文实例为大家分享了js Tab选项卡切换效果,供大家参考,具体内容如下<!DOCTYPE html><html lang
- 手绘图片生成器可以将导入的彩色图片通过python分析光源、灰度等操作生成手绘图片。UI界面的整体部分代码块,UI界面的设计比较简单。效果在
- 本文实例讲述了Python数据类型之List列表。分享给大家供大家参考,具体如下:list列表1.概述:通过之前的学习,我们知道变量可以存储
- 本文实例讲述了GO语言make()分配用法。分享给大家供大家参考。具体分析如下:make()分配:内部函数 make(T, args) 的服
- 本文实例为大家分享了Vue自定义日历插件的具体代码,供大家参考,具体内容如下由于网上的插件没有符合项目的需求决定自己实现图示如下:默认选择今
- Python TutorPython Tutor 是由 Philip Guo 开发的一个免费教育工具,可帮助学生攻克编程学习中的基础障碍,理
- 问题创建一个二叉树二叉树有限多个节点的集合,这个集合可能是:空集由一个根节点,和两棵互不相交的,分别称作左子树和右子树的二叉树组成创建二叉树
- 先给大家介绍下python中random模块random与numpy.random对比:1、random.random():生成[0,1)之
- 1、概述 经常用到轮廓查找和多边形拟合等opencv操作,因此记录以备后续使用。本文代码中的阈值条件对图片没有实际意义,仅仅是为了测试。原图
- 循环是所有编程语言中最为重要的机制之一,几乎任何拥有实际意义的计算机程序(排序、查询等)都里不开循环。 而循环也正是程序优化中非常让人头疼的
- 功能需求1,利用随机数模拟产生每次考试成绩2,将每次考试成绩存入到数据库3,将每次考试成绩划分优、良、中、差、不及格五类,并作为查询条件,查
- 1. 关闭mysql服务# service mysqld stop2. 检查是否有rpm包,如果没有用rpm安装过mysql,不应该有残留,
- 需求:连接本机的(两台安卓手机)或者本机安装的(安卓模拟器两个),实现同时安装本地apk包 。demon.py特别说明:必须写udid才能实
- 写在前面ufunc是universal function的缩写,意思是这些函数能够作用于narray对象的每一个元素上,而不是针对narra
- import numpy as npimport matplotlib.pyplot as pltimport math# Python实现
- Python3的 元组(Tuple)Python 的元组与列表类似,不同之处在于元组的元素不能修改。元组使用小括号 ( ),列表使用方括号