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>
  • 相关阅读:
    学校的SQLServer的笔记
    Javaの集合学习
    XML的学习
    Java中学校没学过的东西
    MySQL的学习
    牛顿法及其收敛性
    c++编码规范
    C++标准库
    MATLAB编程技巧
    Matlab学习记录(函数)
  • 原文地址:https://www.cnblogs.com/houmin0036/p/4771514.html
Copyright © 2011-2022 走看看