Here’s a really simple way to toggle actions or more information to keep your pages clean.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style type="text/css"> | |
.toggle-me { display: none; } | |
div:hover .toggle-me { display: inline-block; } | |
</style> | |
<body> | |
<div>Most Important <span class="toggle-me">More Information</span></div> | |
</body> | |
</html> |