.blur {
-webkit-filter: blur(5px)
-moz-filter: blur(5px)
-o-filter: blur(5px)
-ms-filter: blur(5px)
filter: url(#blur-effect-1)
filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='5')
zoom: 1
}
具体实现代码如下:var inputO = document.getElementById("input1")
inputO.onblur = function()
{
inputO.style.border = "1px solid rgb(0, 0, 0)"//input失去焦点时的边框状态
}
inputO.onfocus = function()
{
inputO.style.border = 0//input得到焦点时的边框状态
}