Compare commits

...

3 Commits

Author SHA1 Message Date
David E. Perez Negron R. 66632f5027 Chrome DevTools & CSS Box Model 2024-05-05 22:58:28 -06:00
David E. Perez Negron R. c414d057d6 Challenge 3.f done 2024-05-04 20:21:06 -06:00
David E. Perez Negron R. 062a42ac2f border radious must be at max half size of the pixels of the height or width, wichever is smaller 2024-05-04 19:46:56 -06:00
2 changed files with 48 additions and 17 deletions

View File

@ -1,14 +1,17 @@
<style> <style>
.subscribe-button { .subscribe-button {
background-color: rgb(200, 0, 0); background-color: rgb(204, 0, 0);
color: white; color: white;
border: none; border: none;
height: 36px;
width: 105px;
border-radius: 2px; border-radius: 2px;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 16px;
padding-right: 16px;
cursor: pointer; cursor: pointer;
margin-right: 8px; margin-right: 12px;
transition: opacity 0.15s; transition: opacity 0.15s;
vertical-align: top;
} }
.subscribe-button:hover { .subscribe-button:hover {
@ -21,12 +24,15 @@
.join-button { .join-button {
background-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
color: rgb(41, 118, 211); color: rgb(6, 95, 212);
border-color: rgb(41, 118, 211); border-color: rgb(6, 95, 212);
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
height: 36px; padding-top: 9px;
width: 62px; padding-bottom: 9px;
padding-left: 16px;
padding-right: 16px;
vertical-align: top;
border-radius: 2px; border-radius: 2px;
cursor: pointer; cursor: pointer;
transition: background-color 0.15s, transition: background-color 0.15s,
@ -34,7 +40,7 @@
} }
.join-button:hover { .join-button:hover {
background-color: rgb(41, 118, 211); background-color: rgb(6, 95, 212);
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
} }
@ -43,16 +49,18 @@
} }
.tweet-button { .tweet-button {
background-color: rgb(2, 158, 255); background-color: rgb(29, 155, 240);
color: white; color: white;
border: none; border: none;
height: 36px; padding-top: 7px;
width: 70px; padding-bottom: 7px;
border-radius: 18px; padding-left: 16px;
padding-right: 16px;
border-radius: 16px;
font-weight: bold; font-weight: bold;
font-size: 15px; font-size: 15px;
cursor: pointer; cursor: pointer;
margin-left: 8px; margin-left: 12px;
transition: box-shadow 0.15s; transition: box-shadow 0.15s;
} }
@ -69,5 +77,5 @@
JOIN JOIN
</button> </button>
<button class="tweet-button"> <button class="tweet-button">
TWEET Tweet
</button> </button>

View File

@ -1,6 +1,11 @@
<style> <style>
a { a {
color: rgb(0, 113, 113); color: rgb(0, 113, 113);
transition: color 0.15s;
}
a:hover {
color: rgb(204, 51, 0);
} }
.product { .product {
@ -19,7 +24,16 @@
border: none; border: none;
height: 32px; height: 32px;
width: 105px; width: 105px;
border-radius: 40px; border-radius: 16px;
transition: background-color 0.15s
}
.add-2-cart:hover {
background-color: rgb(245, 206, 10)
}
.add-2-cart:active {
opacity: 0.8
} }
.buy-now { .buy-now {
@ -27,7 +41,16 @@
border: none; border: none;
height: 32px; height: 32px;
width: 105px; width: 105px;
border-radius: 40px; border-radius: 16px;
transition: background-color 0.15s;
}
.buy-now:hover {
background-color: rgb(245, 154, 18);
}
.buy-now:active {
opacity: 0.8;
} }
</style> </style>
<a href="https://amazon.com/"> Back to Amazon </a> <a href="https://amazon.com/"> Back to Amazon </a>