Untitled
unknown
plain_text
a year ago
943 B
6
Indexable
.product-details-page-container { display: flex; align-items: flex-start; margin-left: 30px; margin-top: 20px; } .product-details-card { display: flex; border: 2px solid #6aa151; border-radius: 8px; padding: 20px; box-shadow: 0 0 10px #e604041a; } .fetched-image { width: 350px; height: auto; border-radius: 8px; object-fit: contain; } .product-details { flex: 1; padding-left: 20px; } .product-details h3 { margin-top: 0; /* Remove default margin for h3 */ } .product-details p { margin-top: 10px; /* Add some margin between paragraphs */ } .addtocart { background-color: grey; width: 180px; height: 40px; font-weight: bolder; border-radius: 20px; cursor: pointer; } @media (max-width: 768px) { .product-details-page-container { flex-direction: column; } .product-details-card { margin-top: 20px; } .product-details { padding-left: 0; text-align: center; } }
Editor is loading...
Leave a Comment