From 135883ec9cb291605a13af999a9e2b242b1b7b53 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Thu, 5 May 2022 21:51:25 -0700 Subject: [PATCH] doc: style checkOutProduct component --- src/Checkout/CheckoutProduct.css | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/Checkout/CheckoutProduct.css b/src/Checkout/CheckoutProduct.css index e69de29..3dbcb1b 100644 --- a/src/Checkout/CheckoutProduct.css +++ b/src/Checkout/CheckoutProduct.css @@ -0,0 +1,32 @@ +.checkoutProduct { + display: flex; + margin-top: 20px; + margin-bottom: 20px; +} + +.checkoutProduct__info { + padding-left: 20px; +} + +.checkoutProduct__info > button { + background: #f0c14b; + border: 1px solid; + margin-top: 10px; + border-color: #a88734 #9c7e31 #846a29; + color: #111; +} + +.checkoutProduct__image { + object-fit: contain; + width: 180px; + height: 180px; +} + +.checkoutProduct__rating { + display: flex; +} + +.checkoutProduct__title { + font-size: 17px; + font-weight: 800; +}