good homepage code example
Example: good homepage
<html>
<head>
<title>Homepage</title>
<script src="/cdn-cgi/apps/head/GfKcg8RUy8UkrzhUgmf9HNIzijY.js"></script><STYLE>
BODY {
background-image: url("https://www.harboreast.com/wp-content/uploads/2016/10/1600x600-homepage-background-1.jpg");
background-size: cover;
background-attachment: fixed;
background-color: #ffffff;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}
.header {
font-size: 20px;
color: white;
background-color: #333;
width: 100%;
background-size: cover;
position: fixed;
margin: 0;
display: flex;
-webkit-box-shadow: 0px -89px 24px 100px rgba(0, 0, 0, 0.33);
-moz-box-shadow: 0px -89px 24px 100px rgba(0, 0, 0, 0.33);
box-shadow: 0px -89px 24px 100px rgba(0, 0, 0, 0.33);
}
.header-button {
background-color: transparent;
display: flex;
color: white;
padding-top: 30px;
padding-bottom: 30px;
padding-left: 30px;
padding-right: 30px;
margin-left: 0;
margin-right: 0;
border: none;
border-bottom: 4px solid transparent;
font-size: 10px;
position: left;
font-weight: 200;
transition: all 0.3s ease 0s;
}
#main {
}
#branding {
color: #1097da;
font-size: 50px;
font-weight: 800;
padding-top: 10%;
padding-bottom: 20px;
}
.background {
background: rgba(0, 0, 0, 0.2);
backdrop-filter: blur(8px);
color: white;
padding: 20px;
margin-left: 300px;
margin-right: 300px;
margin-top: 50px;
margin-bottom: 50px;
border-radius: 30px;
border-left-style: solid;
border-left-color: #43B581;
border-left-width: 1rem;
}
.text2 {
font-weight: 400;
font-size: 30px;
padding-bottom: 600px;
}
.text {
font-weight: 400;
font-size: 30px;
padding-bottom: 15px;
padding-top: 15px;
}
.btn-1 {
border: none;
background: #43B581;
border-radius: 50px;
color: white;
padding: 25px;
font-size: 40px;
transition: all 0.3s ease 0s;
margin: 20px;
}
.btn-1:hover {
box-shadow: 0px 0px 30px #43B581;
cursor: pointer;
transition: all 0.3s ease 0s;
}
.btn-1:active {
box-shadow: 0px 0px 0px 10px rgba(154,0,255,0.5);
cursor: pointer;
transition: all 0.3s ease 0s;
}
</STYLE>
</head>
<body>
<div class=background><center>
<div id=branding>Google</div>
<form method="get" action="https://www.google.com/search">
<input type="text" name="q" size="40">
</form>
<span><a href="https://facebook.com/" < span><button class=btn-1><span>Facebook</span></button>
<span><a href="https://youtu.be/" < span><button class=btn-1><span>YouTube</span></button>
<span><a href="https://twitter.com" < span><button class=btn-1><span>Twitter</span></button>
<span><a href="https://discord.com/app" < span><button class=btn-1><span>Discord</span></button>
</center>
</div>
</div>
</table>
<script defer src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon='{"rayId":"65abdfc76b1fd44f","version":"2021.5.2","r":1,"token":"c2403b1fced548d89cd2c22944776a20","si":10}'></script>
</body>
</html>