Readable Link Style
CSS
Medium
4 views
Problem Description
Style links with underline thickness and offset for better look.
Output Format
Print the HTML+CSS code in one block.
Constraints
Use text-decoration-thickness and text-underline-offset.
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; text-decoration-thickness: 2px; text-underline-offset: 3px; }
</style>
</head>
<body>
<a href='#'>Read CSS lessons on meetcode</a>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!