input框添加阴影效果

.input:hover,.input:focus
{
border:1px solid #85afe1;
-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
box-shadow:inset 0px 1px 1px rgba(0,0,0,0.075), 0px 0px 8px rgba(102,175,233,0.6);
}

posted @ 2018-08-07 19:27  (john_zhang)  阅读(5653)  评论(0编辑  收藏  举报