首页 > 其他 > 详细

input边框变亮

时间:2020-05-01 13:57:10      阅读:68      评论:0      收藏:0      [点我收藏+]

 代码实现

<!DOCTYPE html>  
<html>  
<head>  
  <meta charset="utf-8">  
  <style>
    .form-control{height:32px; border-radius:4px; outline:0; border:1px solid #ccc; padding:4px 11px; transition:all .3s;box-sizing:border-box;}
    .form-control:focus{border-color: #66afe9;box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);}
  </style>  
</head>  
<body>
  input边框亮线:<input class=‘form-control‘>
</body>  
</html> 

效果图

 技术分享图片

 

input边框变亮

原文:https://www.cnblogs.com/jxjl/p/12813191.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!