svg filter实现文字字母扭曲效果代码

代码语言:html

所属分类:布局界面

代码描述:svg filter实现文字字母扭曲效果代码

代码标签: svg filter 文字 字母 扭曲

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  

  
  
  
  
<style>
body{
  font-family: sans-serif;
  font-weight: bold;
  margin: 50px;
  background-color: #fcf;
  color: #181;
  
}
.hoge {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 199;
  font-size: 99px;
	filter: url(#noiseEffect);
}
.fuga{
  font-size: 99px;
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 99;
  color: #fff;
  
}
</style>


</head>

<body>
  <div class="hoge">THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.</div>

<div class="fuga">THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.</div>

<svg>
	<filter id="feGaussianBlur">
		<feGaussianBlur stdDevi.........完整代码请登录后点击上方下载按钮下载查看

网友评论0