最新下载
24小时阅读排行榜
- 1 mysql主从复制的安全性增强与加密设置
- 2 Go如何创建与删除文件_Go文件创建与删除操作说明
- 3 PHP如何调用百分点AI_传用户画像调推荐模型得列表【稳招】
- 4 mysql环境搭建后连接超时问题排查思路
- 5 Blazor 父子组件数据传递和事件回调方法
- 6 c# C# 中如何处理硬件中断和高精度计时器
- 7 css 过渡与 border-radius 的变化_平滑过渡圆角效果
- 8 C#怎么用XPath选择带有特定命名空间前缀的节点
- 9 c# 如何在高并发下保证Redis操作的原子性 Lua脚本和事务
- 10 Python如何解析带有注释的XML并保留注释
- 11 css 想实现响应式多列卡片布局怎么办_使用网格布局和自动适应宽度实现卡片排列
- 12 .NET中的依赖注入(DI)是什么?解耦代码的核心实践
- 13 如何使用Golang实现日志轮转_Golang log 文件轮转示例
- 14 IE浏览器html5字体显示异_修正IE的html5字体法【正字】
- 15 Dell Boomi中处理复杂XML Profile
最新教程
-
- Node.js 教程
- 15484 2025-08-28
-
- CSS3 教程
- 1544604 2025-08-27
-
- Rust 教程
- 22772 2025-08-27
-
- Vue 教程
- 25248 2025-08-22
-
- PostgreSQL 教程
- 21835 2025-08-21
-
- Git 教程
- 8851 2025-08-21
通过CSS3自定义checkbox样式来实现的一款CSS3立体感灯光开关按钮动画特效,切换开关可以改变页面背景颜色,从而模拟灯光的开启和关闭。
<defs>
<filter id="drop-stroke-shadow">
<fegaussianblur in="SourceAlpha" stddeviation="10"></fegaussianblur>
</filter>
<symbol id="stroke">
<text x="50%" y="67%" fill="none" stroke-width=".035em" stroke-linecap="round" stroke-linejoin="round" paint-order="stroke fill" text-anchor="middle">Shaded</text>
</symbol>
<symbol id="fill">
<text x="50%" y="60%" text-anchor="middle">Shaded</text>
</symbol>
</defs>
<g class="svg-text__shaded__stroke" stroke="#00cccc">
<use y="5%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#stroke" opacity="0.5" filter="url(#drop-stroke-shadow)"></use>
<use y="3%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#stroke"></use>
<use y="2%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#stroke"></use>
<use y="1%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#stroke"></use>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#stroke" stroke="cyan"></use>
</g>
<g fill="#e6e6e6">
<use class="svg-text__shaded" y="7%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#fill"></use>
<use y="6.5%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#fill"></use>
<use y="6%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#fill"></use>
<use y="5.5%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#fill"></use>
<use y="5%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#fill"></use>
<use y="4.5%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#fill"></use>
<use y="4%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#fill"></use>
<use y="3.5%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#fill" fill="white"></use>
</g>
