HTML_CSS_FULL_COURSE/buttons.html

82 lines
1.6 KiB
HTML
Raw Normal View History

2024-03-27 01:11:28 +00:00
<style>
.subscribe-button {
2024-05-06 04:58:28 +00:00
background-color: rgb(204, 0, 0);
2024-03-27 01:11:28 +00:00
color: white;
border: none;
border-radius: 2px;
2024-05-06 04:58:28 +00:00
padding-top: 10px;
padding-bottom: 10px;
padding-left: 16px;
padding-right: 16px;
2024-03-27 01:11:28 +00:00
cursor: pointer;
2024-05-06 04:58:28 +00:00
margin-right: 12px;
2024-03-27 14:59:04 +00:00
transition: opacity 0.15s;
2024-05-06 04:58:28 +00:00
vertical-align: top;
2024-03-27 14:59:04 +00:00
}
.subscribe-button:hover {
opacity: 0.8;
}
.subscribe-button:active {
opacity: 0.5;
2024-03-27 01:11:28 +00:00
}
.join-button {
background-color: rgb(255, 255, 255);
2024-05-06 04:58:28 +00:00
color: rgb(6, 95, 212);
border-color: rgb(6, 95, 212);
2024-03-27 01:11:28 +00:00
border-style: solid;
border-width: 1px;
2024-05-06 04:58:28 +00:00
padding-top: 9px;
padding-bottom: 9px;
padding-left: 16px;
padding-right: 16px;
vertical-align: top;
2024-03-27 01:11:28 +00:00
border-radius: 2px;
cursor: pointer;
2024-03-27 14:59:04 +00:00
transition: background-color 0.15s,
color 0.15s;
}
.join-button:hover {
2024-05-06 04:58:28 +00:00
background-color: rgb(6, 95, 212);
2024-03-27 14:59:04 +00:00
color: rgb(255, 255, 255);
}
.join-button:active {
opacity: 0.7;
2024-03-27 01:11:28 +00:00
}
.tweet-button {
2024-05-06 04:58:28 +00:00
background-color: rgb(29, 155, 240);
2024-03-27 01:11:28 +00:00
color: white;
border: none;
2024-05-06 04:58:28 +00:00
padding-top: 7px;
padding-bottom: 7px;
padding-left: 16px;
padding-right: 16px;
border-radius: 16px;
2024-03-27 01:11:28 +00:00
font-weight: bold;
font-size: 15px;
cursor: pointer;
2024-05-06 04:58:28 +00:00
margin-left: 12px;
2024-03-27 14:59:04 +00:00
transition: box-shadow 0.15s;
}
.tweet-button:hover {
box-shadow: 5px 5px 10px rgba(0,0,0,.15);
2024-03-27 01:11:28 +00:00
}
</style>
<button class="subscribe-button">
SUBSCRIBE
</button>
<button class="join-button">
JOIN
</button>
<button class="tweet-button">
2024-05-06 04:58:28 +00:00
Tweet
2024-03-27 01:11:28 +00:00
</button>