爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
文字特殊效果
文字特殊效果
日期:2014-05-18 浏览次数:20275 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<body>区域中 <style type="text/css"> <!-- body {background: url(back.gif);} .sample {font-style: italic; font-family: arial black; font-size: 40px; font-weight: bold; cursor: hand;} #backgr2 {width: 200px; height: 70; background: black url(images/back1.jpg) center center no-repeat;} #backgr3 {} --> </style> <div class="webfx-main-body"> <h2>3D Text</h2> This was made using one span with blur and then another one atop of it. <p onclick="alert(this.innerHTML)"> <span class="sample" style="width: 200px; height: 70; color: black; filter: Blur(Add=0, Direction=135, Strength=10);" >WebFX</span><span class="sample" style="position: relative; left: -201; top: -15; width: 200; color: #2984ff;"> WebFX</span> <h2>Glass Text</h2> Same tecnique as above but both have alpha filters added. <p onclick="alert(this.innerHTML)"> <span class="sample" style="width: 200px; height: 70; color: lightskyblue; filter: Alpha(Opacity=60) Blur(Add=0, Direction=135, Strength=20);" >WebFX</span><span class="sample" style="position: relative; left: -201; top: -15; width: 200; color: lightskyblue; filter: Alpha(Opacity=60);" >WebFX</span> <h2>Inner Shadow</h2> First I added a mask() to remove the inside, then a shadow() was added. Since there is nothing inside the shadow is displayed inside. Then I removed the mask using chroma(). Before this I added the same text with a white color and the second text was moved above this using position: relative; left: -200px; <p onclick="alert(this.innerHTML)"> <span class="sample" style="width: 200px; height: 70; color: white;" >WebFX</span><span class="sample" style="width: 200px; height: 70; position: relative; left: -200; filter: mask(color=red) shadow(direction=135) chroma(color=red);" >WebFX</span> <h2>Outline Text</h2> You could just add glow but it looks better if the glowing is placed on the inside. To do this you add mask, glow and chroma. <p onclick="alert(this.innerHTML)"> <span class="sample" style="width: 200px; height: 70; filter: mask(color=red) glow(color=black, strength=1) chroma(color=red);">WebFX</span> </div> <a href="http://www.aiyiweb.com/js/">欢迎访问爱易网JS特效</a>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
上一篇:狡猾的按钮特效
下一篇:文字的随机伸缩变化
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
国网公司将加快组建 业界人士称困难重重
网曝富士康500万iphone遭退货是确证的事
分析称iPhone 6明年初发布 屏幕变为4.8吋
迅雷向美SEC提交IPO招股书:拟最多筹资1亿美元
微软觊觎移动互联市场:手机未出渠道先行
中移动落马高管盘点:广东移动成反腐重地
三星维修新规:Galaxy S4主板进水也收费修
英特尔IDF峰会启示:释放移动互联的信号
酷派首抓4G时机大丰收,未来份额必降无疑
推荐阅读
更多>
看病也能用支付宝了 马云的又一盘大棋
诺基亚再缩阵线 封锁上海旗舰店全力蜕变
三星手机在国内陷入困境:华为中兴小米紧追
虚拟运营商们更像三大运营商的“二道贩子”
中方抗议美方限购IT设备 紧张关系加剧
迅雷欲3300万美元收购金山快盘 预计9月完成
中国移动承诺再降4G资费 网络漫游至50个国家
中国雅虎邮箱今日关停 由盛及衰的背后
组建铁塔公司倒逼运营商改革 或加速4G网建设
打车软件火了 恶性循环来了
诺基亚依托规模效应 猛攻国际市场空白
AMD Q1净亏1.46亿美元 转战SOC拥抱ARM求变
神州电脑中止IPO面前:再被质疑财务造假
估值增长9.8% 阿里IPO前市值达2450亿美元
苹果已经允许开发者提交64位应用程序
惠普中国转型只是缩影 未来开展不可预期
微软谷歌高层访韩面前:忌惮三星的崛起
Line风靡亚洲,在北美却进展缓慢
迅雷高管解读财报:收购快盘可快速融入小米
618首日看京东阿里不同策略,鹿死谁手?