HTML_CSS_FULL_COURSE/buttons.html

74 lines
1.4 KiB
HTML

<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;
transition: opacity 0.15s;
}
.subscribe-button:hover {
opacity: 0.8;
}
.subscribe-button:active {
opacity: 0.5;
}
.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;
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;
}
.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;
transition: box-shadow 0.15s;
}
.tweet-button:hover {
box-shadow: 5px 5px 10px rgba(0,0,0,.15);
}
</style>
<button class="subscribe-button">
SUBSCRIBE
</button>
<button class="join-button">
JOIN
</button>
<button class="tweet-button">
TWEET
</button>