Shadow Card
CSS
Easy
3 views
Problem Description
Add a soft shadow to a meetcode card.
Output Format
Print the HTML+CSS code in one block.
Constraints
Use box-shadow with subtle values.
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>
.card { max-width: 380px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.12); }
</style>
</head>
<body>
<div class='card'>
<h2>meetcode</h2>
<p>Shadow card</p>
</div>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!