zoukankan      html  css  js  c++  java
  • 输入框蓝光特效

     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3 <head>
     4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     5 <title>CSS3 input输入框蓝光特效 - 代码笔记 www.198zone.com</title>
     6 <style type="text/css">
     7 input{
     8     transition:all 0.30s ease-in-out;
     9     -webkit-transition: all 0.30s ease-in-out;
    10     -moz-transition: all 0.30s ease-in-out;
    11     
    12     width: 200px;
    13     border:#35a5e5 1px solid;
    14     border-radius:3px;
    15     outline:none;
    16 }
    17 input:focus{
    18     box-shadow:0 0 5px rgba(81, 203, 238, 1);
    19     -webkit-box-shadow:0 0 5px rgba(81, 203, 238, 1);
    20     -moz-box-shadow:0 0 5px rgba(81, 203, 238, 1);
    21 }
    22 </style>
    23 </head>
    24 <body>
    25 
    26 <div style=" margin:100px 700px;">
    27     <input type="text"  placeholder="用户名或邮件地址" style="height:25px"/>
    28     <br>
    29     <br>
    30     <input type="password" placeholder="请输入密码"  style="height:25px"/>
    31 </div>
    32 </body>
    33 </html>
  • 相关阅读:
    C语言第一天
    【PHP学习笔记】Hello,World!
    Photoshop文本位置范围
    快捷套取单色图片
    cesium加载纽约市3dtiles模型
    Python基础——0前言
    Python基础——1基础
    Python基础——2函数
    Python基础——3特性
    Python基础——4高阶函数
  • 原文地址:https://www.cnblogs.com/houmin0036/p/4771514.html
Copyright © 2011-2022 走看看