html+CSS3实现input输入框蓝光特效

 时间:2026-02-16 12:56:56

1、新建html文档。

html+CSS3实现input输入框蓝光特效

3、书写hmtl代码。

<style>

input { transition: all 0.30s ease-in-out; -webkit-transition: all 0.30s ease-in-out; -moz-transition: all 0.30s ease-in-out; border: #35a5e5 1px solid; border-radius: 3px; outline: none; }

input:focus { box-shadow: 0 0 5px rgba(81, 203, 238, 1); -webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 1); -moz-box-shadow: 0 0 5px rgba(81, 203, 238, 1); }

a { text-decoration: none; background: rgba(81, 203, 238, 1); color: white; padding: 6px 25px 6px 25px; font: 12px '微软雅黑'; border-radius: 3px; -webkit-transition: all linear 0.30s; -moz-transition: all linear 0.30s; transition: all linear 0.30s; }

a:hover { background: rgba(39, 154, 187, 1); }

</style>

html+CSS3实现input输入框蓝光特效

4、整体代码结构

html+CSS3实现input输入框蓝光特效

5、查看效果

html+CSS3实现input输入框蓝光特效

  • html5的鼠标事件
  • c#计算正方形和园面积
  • 怎样下载Android的SDK
  • css3如何实现一个星星 (6角)图案效果
  • html5画一个矩形
  • 热门搜索
    防城港金滩旅游攻略 印度旅游要花多少钱 敦煌莫高窟旅游攻略 哈尔滨的旅游景点 旅游卫视大驾光临 百度旅游地图 海南旅游攻略自助游 烟台旅游政务网官网 陵水旅游 崇州重庆路旅游攻略