Categories: SVG教程

SVG应用:粘稠效应

粘稠效应就是出发某个元素,会出发粘稠的效果,可以增强页面互动,接下来介绍5个不错的效果,一起了解下吧。

聊天效果:

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <title>SVG-转换效果</title>
</head>
<body>
 <iframe scrolling="no" class="result" src="/demo/svg/src/gooey/index.html" height="560px" width="600px"></iframe>
</body>
</html>

菜单粘稠效应:

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <title>SVG-转换效果</title>
</head>
<body>
 <iframe scrolling="no" class="result" src="/demo/svg/src/gooey/menu.html" height="560px" width="600px"></iframe>
</body>
</html>

轮播效果:

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <title>SVG-转换效果</title>
</head>
<body>
 <iframe scrolling="no" class="result" src="/demo/svg/src/gooey/pagination.html" height="560px" width="600px"></iframe>
</body>
</html>

Loader效果:

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <title>SVG-转换效果</title>
</head>
<body>
 <iframe scrolling="no" class="result" src="/demo/svg/src/gooey/send.html" height="560px" width="600px"></iframe>
</body>
</html>

Share[分享]效果:

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <title>SVG-转换效果</title>
</head>
<body>
 <iframe scrolling="no" class="result" src="/demo/svg/src/gooey/share.html" height="560px" width="600px"></iframe>
</body>
</html>
terry

这个人很懒,什么都没有留下~

Share
Published by
terry

Recent Posts

自定义指令:聊聊vue中的自定义指令应用法则

今天我们来聊聊vue中的自定义…

5 天 ago

聊聊Vue中@click.stop和@click.prevent

一起来学下聊聊Vue中@cli…

2 周 ago

Nginx 基本操作:启动、停止、重启命令。

我们来学习Nginx基础操作:…

2 周 ago

Vue3:手动清理keep-alive组件缓存的方法

Vue3中手动清理keep-a…

3 周 ago

聊聊React和Vue组件更新的实现及区别

React 和 Vue 都是当…

3 周 ago