CSS Challenge
This commit is contained in:
parent
e0b8ff4990
commit
8aaf8dccc7
|
@ -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>
|
Loading…
Reference in New Issue