.bor{width:100px;height:100px;background:#eee;} .bor:hover{border:1px solid red}