Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body { font-family: sans-serif; display: flex; gap: 20px; padding: 20px; background: #eee; }
.card { background: white; padding: 15px; border-radius: 10px; width: 200px; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
img { width: 100%; border-radius: 5px; height: 150px; object-fit: cover; }
.price { font-weight: bold; color: green; margin: 10px 0; }
a { text-decoration: none; background: #007bff; color: white; padding: 8px; border-radius: 5px; display: block; }