代码如下
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>显示边框阴影</title><style>div { border:#CCC solid 1px; width:200px; height:200px;}div:hover { box-shadow: 0px 0px 5px #888888;</style></head><body><div></div></body></html>
效果如下: