CSS Challenge

This commit is contained in:
David E. Perez Negron R. 2024-03-26 21:04:48 -06:00
parent e0b8ff4990
commit 8aaf8dccc7
1 changed files with 39 additions and 0 deletions

39
buttons_challenge.html Normal file
View File

@ -0,0 +1,39 @@
<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: 40px;
}
.buy-now {
background-color: rgb(255, 164, 28);
border: none;
height: 32px;
width: 105px;
border-radius: 40px;
}
</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>