Soft Background Theme
CSS
Easy
2 views
Problem Description
Create a soft background and readable text color for a section.
Output Format
Print the HTML+CSS code in one block.
Constraints
Use background and color on a container.
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>
.section { background: #f3f4f6; color: #111; padding: 16px; border-radius: 14px; width: 420px; }
</style>
</head>
<body>
<div class='section'>
<h2>meetcode</h2>
<p>Clean reading section.</p>
</div>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!