<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML & CSS FULL COURSE</title>
<style>
body {
/* Styling for the body */
background-image: url(./Background.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
min-height: 100vh;
width: 100%;
margin: 0;
padding: 0;
color: #ffffff;
text-align: center;
padding: 10px;
}
.button-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
margin-top: 20px;
}
.button-container a {
text-decoration: none;
}
.SubscribeButton {
/* Styling for the Subscribe button */
background-color: rgb(200, 0, 0);
border-radius: 2px;
color: white;
border: none;
height: 35px;
width: 150px;
cursor: pointer;
transition: opacity 0.25s ease-in-out;
}
.SubscribeButton:hover {
opacity: 0.6;
}
.SubscribeButton:active {
opacity: 0.4;
}
.DownloadButton {
/* Styling for the Download button */
background-color: rgb(255, 255, 255);
border-radius: 5px;
border: 1px solid rgb(95, 95, 95);
color: rgb(95, 95, 95);
height: 35px;
width: 150px;
cursor: pointer;
transition: background-color 1s ease-in-out, color 0.3s ease-in-out;
}
.DownloadButton:hover {
/* Styling for the Download button on hover */
background-color: rgb(95, 95, 95);
color: white;
border: none;
}
.JoinButton {
/* Styling for the Join button */
background-color: rgb(255, 255, 255);
border-color: rgb(41, 118, 211);
border-radius: 5px;
border-width: 1px;
color: rgb(41, 118, 211);
height: 35px;
width: 62px;
cursor: pointer;
transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
.JoinButton:hover {
background-color: rgb(41, 118, 211);
color: white;
border: none;
}
.TweetButton {
background-color: rgb(29, 155, 240);
border: none;
border-radius: 18px;
color: white;
font-weight: bold;
font-size: 15px;
height: 36px;
width: 74px;
cursor: pointer;
transition: background-color 0.25s ease-in-out, box-shadow 0.15s ease-in-out;
}
.TweetButton:hover {
background-color: rgb(26, 145, 218);
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}
</style>
</head>
<body>
<h1>HTML CSS FULL COURSE</h1>
<p>Learn HTML and CSS from scratch with this comprehensive course.</p>
<div class="button-container">
<a href="https://www.youtube.com/@SuperSimpleDev" target="_blank">
<button class="SubscribeButton">
SuperSimpleDev
</button>
</a>
<a href="https://code.visualstudio.com/download" target="_blank">
<button class="DownloadButton">Download Visual Studio</button>
</a>
<button class="JoinButton">
JOIN
</button>
<button class="TweetButton">
Tweet
</button>
</div>
</body>
</html>
Copy and paste this code into your HTML file to see the buttons in action.