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

View File

@ -1,6 +1,11 @@
<style>
a {
color: rgb(0, 113, 113);
transition: color 0.15s;
}
a:hover {
color: rgb(204, 51, 0);
}
.product {
@ -19,7 +24,16 @@
border: none;
height: 32px;
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 {
@ -27,7 +41,16 @@
border: none;
height: 32px;
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>
<a href="https://amazon.com/"> Back to Amazon </a>