Button Text Styling
CSS
Medium
2 views
Problem Description
Style a button text to look clean with letter-spacing and font-weight.
Output Format
Print the HTML+CSS code in one block.
Constraints
Use font-weight and letter-spacing on button.
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>
button { font-family: system-ui, Arial, sans-serif; font-weight: 600; letter-spacing: 0.02em; padding: 10px 14px; border-radius: 12px; border: 1px solid #ddd; background: #fff; }
</style>
</head>
<body>
<button type='button'>Start practice</button>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!