Homepage design
Sat Aug 20 2022 17:52:14 GMT+0000 (Coordinated Universal Time)
Saved by @upgrader_boy
<!--This is html code. Plz. use it as html file. --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <!-- <link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@600;900&display=swap" rel="stylesheet"> --> <title>Upgrader Boy</title> <link rel="stylesheet" href="web.css"> </head> <body> <header> <section class="navsection"> <div class="logo"> <h1>Upgrader Boy</h1> </div> <nav> <a href="https://upgraderboy.blogspot.com/" target="_blank">Home</a> <a href="https://www.youtube.com/channel/UCEJnv8TaSl0i1nUMm-fGBnA?sub_confirmation=1" target="_blank">Youtube</a> <a href="#" target="_blank">Social Media</a> <a href="#" target="_blank">Services</a> <a href="https://upgraderboy.blogspot.com/p/about-us.html" target="_blank">About us</a> <a href="https://upgraderboy.blogspot.com/p/contact-us.html" target="_blank">Contact us</a> </nav> </section> <main> <div class="leftside"> <h3>Hello</h3> <h1>I am Upgrader</h1> <h2>Web developer, Youtuber and CEO of Upgrader Boy</h2> <a href="#" class="button1">Website</a> <a href="#" class="button2">Youtube</a> </div> <div class="rightside"> <img src="/Image/ezgif.com-gif-maker.gif" alt="Svg image by Upgrader Boy"> </div> </main> </header> </body> </html> <!-- This is css code. Plz. use it as css file. --> *{ margin: 0px; padding: 0px; /* @import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@600&display=swap'); */ /* font-family: 'Roboto Slab', serif; */ } header{ width: 100%; height: 100%; background-image: linear-gradient(to left,#ffff 85%, #c3f5ff 20%); } .navsection{ width: 100%; height: 20vh; display: flex; justify-content: space-around; background-image: linear-gradient(to top, #fff 80%, #c3f5ff 20%); align-items: center; } .logo{ width: 40%; color: #fff; background-image: linear-gradient(#8d98e3 40%, #854fee 60%); padding-left: 100px; box-sizing: border-box; } .logo h1{ text-transform: uppercase; font-size: 1.6rem; animation: aagepiche 1s linear infinite; animation-direction: alternate; } @keyframes aagepiche{ from{padding-left: 40px;} to {padding-right: 40px;} } nav{ width: 60%; display: flex; justify-content: space-around; } nav a{ text-decoration: none; text-transform: uppercase; color: #000; font-weight: 900; font-size: 17px; position: relative; } nav a:first-child{ color: #4458dc; } nav a:before{ content: ""; position: absolute; top: 110%; left: 0; height: 2px; width: 0; border-bottom: 5px solid #4458dc; transition: 0.5s; } nav a:hover:before{ width: 100%; } main{ height: 80vh; display: flex; justify-content: space-around; align-items: center; } .rightside{ border-radius: 30% 70% 53% 47% / 30% 30% 70% 70%; background-color: #c8fbff; } .rightside img{ max-width: 500px; height: 80%; } .leftside{ color: #000; text-transform: uppercase; } .leftside h3{ font-size: 40px; margin-bottom: 20px; position: relative; } .leftside h3:after{ content: ""; width: 450px; height: 3px; position: absolute; top: 43%; left: 23.4%; background-color: #000; } .leftside h1{ margin-top: 20px; font-size: 70px; margin-bottom: 25px; } .leftside h2{ margin-bottom: 35px; font-weight: 500; word-spacing: 4px; } .leftside .button1{ color: #fff; letter-spacing: 0; background-image: linear-gradient(to right, #4458dc 0%, #854fee 100%); border: double 2px transparent; box-shadow: 0 10px 30px rgba(118, 85, 225, 3); /* radial-gradient(circle at top left,#4458dc,#854fee); */ } .leftside .button2{ border: 2px solid #4458dc; color: #222; background-color: #fff; box-shadow: none; } .leftside .button1 , .button2{ display: inline-block; margin-right: 50px; text-decoration: none; font-weight: 900; font-size: 14px; text-align: center; padding: 12px 25px; cursor: pointer; text-transform: uppercase; border-radius: 5px; } .leftside .button1:hover{ border: 2px solid #4458dc; color: #222; box-shadow: none; background-color: #fff; background-image: none; }
Comments