Chrome DevTools & CSS Box Model

This commit is contained in:
David E. Perez Negron R. 2024-05-05 22:58:28 -06:00
parent c414d057d6
commit 66632f5027
1 changed files with 23 additions and 15 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>