HTML_CSS_FULL_COURSE/buttons_challenge.html

40 lines
833 B
HTML

<style>
a {
color: rgb(0, 113, 113);
}
.product {
font-weight: bold;
font-size: 24px;
}
.price {
color: rgb(0, 118, 0);
font-weight: bold;
}
.add-2-cart {
background-color: rgb(255, 216, 20);
margin-right: 5px;
border: none;
height: 32px;
width: 105px;
border-radius: 16px;
}
.buy-now {
background-color: rgb(255, 164, 28);
border: none;
height: 32px;
width: 105px;
border-radius: 16px;
}
</style>
<a href="https://amazon.com/"> Back to Amazon </a>
<p class="product"> Nike Black Running Shoes </p>
<p class="price"> $39 - in stock. </p>
<p> Free delivery tomorrow. </p>
<button class="add-2-cart">Add to Cart</button>
<button class="buy-now">Buy now</button>