头闻号

广州美当家化妆品有限公司

洗面奶|化妆水|面膜|睫毛膏|护肤膏霜|护肤乳液

首页 > 新闻中心 > 科技常识:CSS 文字加阴影变3D效果演示
科技常识:CSS 文字加阴影变3D效果演示
发布时间:2024-09-22 15:41:04        浏览次数:4        返回列表

今天小编跟大家讲解下有关CSS 文字加阴影变3D效果演示 ,相信小伙伴们对这个话题应该有所关注吧,小编也收集到了有关CSS 文字加阴影变3D效果演示 的相关资料,希望小伙伴们看了有所帮助。

<title>几款CSS给文字加阴影变3D效果演示</title> <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"> <p onclick="alert(this.innerHTML)"> <span class="sample"style="width: 200px; height: 70; color: black; filter: Blur(Add=0, Direction=135, Strength=10);">Jb51</span><span class="sample"style="position: relative; left: -201; top: -15; width: 200; color: #2984ff;"> Jb51</span> <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);">Jb51</span> <p onclick="alert(this.innerHTML)"> <span class="sample"style="width: 200px; height: 70; color: white;">Jb51</span><span class="sample"style="width: 200px; height: 70; position: relative; left: -200; filter: mask(color=red) shadow(direction=135) chroma(color=red);">Jb51</span> <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);">Jb51</span> </div> 提示:您可以先修改部分代码再运行

来源:爱蒂网