I created a hidden div and tried to display it with a hover effect on another div, but it's not working. Here's my code:
<html>
<head>
<title> Welcome to FreeAppzToday </title>
<style>
#home {background: black; width:6%; height:6%; margin-left: -1%; margin-top: -2.2%}
#home:hover{background-color: #1A49B4}
#text-home {font-size:225%; margin-left: 15%; color: white;}
a {text-decoration: none;}
#games {background: black; width:6%; height:6%; margin-left: 5%; margin-top: -5.1%;}
#text-games {font-size:250%; margin-left: 1.5%; color: white;}
#games:hover {background-color: #1A49B4;}
#action {background: black; width:6%; height:3%; margin-left: 5%; margin-top: -1.1%;}
#text-action {font-size:125%; margin-left: 1.5%; color: white;}
#games:hover, #action {visibility: visible;}
#action:hover {background-color: #1A49B4;}
#action {visibility: hidden;}
</style>
</head>
<body>
<div id='home'><a href='index.php'><p id='text-home' >Home</P></a></div>
<div id='games'> <a href='games/index.php'><p id='text-games'>Games</p></a></div>
<div id='action'><a href='games/action.php'><p id='text-action'> Action</p></a></a>
</div>
</body>
</html>