Hover State Link
CSS
Easy
2 views
Problem Description
Create a meetcode link that changes color on hover.
Output Format
Print the HTML+CSS code in one block.
Constraints
Use :hover. Keep it readable.
Official Solution
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>meetcode</title>
<style>
a { color: #0a58ca; }
a:hover { color: #06357a; }
</style>
</head>
<body>
<a href='#'>Open meetcode topics</a>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!