.container{ margin: 50px auto; width: 605px; height: 605px; background-color: blanchedalmond; padding: 2px; border-style: solid } .caja{ border-style: solid } .uno{ position: absolute; } .dos{ position: absolute; margin: 100px 0px 100px 100px; } .tres{ position: absolute; margin: 200px 0px 200px 200px; } .cuatro{ position: absolute; margin: 300px 0px 300px 300px; } .cinco{ position: absolute; margin: 400px 0px 400px 400px; } .caja:hover ~ div{ visibility: hidden; } .caja:hover { border:5px solid white; }