HTML_CSS_FULL_COURSE/buttons.html

74 lines
1.4 KiB
HTML
Raw Normal View History

2024-03-27 01:11:28 +00:00
<style>
.subscribe-button {
background-color: rgb(200, 0, 0);
color: white;
border: none;
height: 36px;
width: 105px;
border-radius: 2px;
cursor: pointer;
margin-right: 8px;
2024-03-27 14:59:04 +00:00
transition: opacity 0.15s;
}
.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);
color: rgb(41, 118, 211);
border-color: rgb(41, 118, 211);
border-style: solid;
border-width: 1px;
height: 36px;
width: 62px;
border-radius: 2px;
cursor: pointer;
2024-03-27 14:59:04 +00:00
transition: background-color 0.15s,
color 0.15s;
}
.join-button:hover {
background-color: rgb(41, 118, 211);
color: rgb(255, 255, 255);
}
.join-button:active {
opacity: 0.7;
2024-03-27 01:11:28 +00:00
}
.tweet-button {
background-color: rgb(2, 158, 255);
color: white;
border: none;
height: 36px;
width: 70px;
border-radius: 18px;
font-weight: bold;
font-size: 15px;
cursor: pointer;
margin-left: 8px;
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">
TWEET
</button>