
#212121
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<div class="card"> <div class="header"> <div class="title-section"> <div class="title">Post views</div> <div class="views">2,670 views</div> </div> <div class="heart-icon"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"> <path fill="url(#heart-gradient)" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" ></path>
CSS
.card { width: 350px; height: 280px; background: linear-gradient(145deg, #0d0d0d, #1a1a1a); border-radius: 40px; padding: 40px; position: relative; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 105, 0, 0.3); color: #f0f0f0; overflow: hidden;
MIT License