前端使用电源模式(power mode)特效
想让页面输入框有炫酷的输入效果吗?想的话就试试power mode吧!
本项目为在 activate-power-mode 的基础上整理后的增强版本。
本项目用 webpack 重新构建,并在其基础上修改了一些配置,现在支持 textarea、text、search、tel、url 五种输入框的输入特效。
本项目GitHub地址:https://github.com/lyswhut/html-activate-power-mode
demo地址:https://lyswhut.github.io/html-activate-power-mode/dist/index.html
安装方法
本项目已发布到 npm
上,所以可用 npm
安装或者直接引入文件的方式使用。
安装方法1
使用 npm
安装: