INTRODUCTION
HTML is the raw data that a webpage is built out of. All the text, links, cards, lists, and buttons are created in HTML. CSS is what adds style to those plain elements. HTML puts information on a webpage, and CSS positions that information, gives it color, changes the font, and makes it look great!
DOWNLOAD LINK
Watch On YOUTUBE
https://www.youtube.com/watch?v=3ol6gNWb9Ak
INDEX.HTML CODE
<!DOCTYPE html>
<html lang="en">
<head>
<title>PORTFOLIO</title>
<link rel="stylesheet" href="style.css">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
</head>
<body>
<header class="header">
<a href="#" class="logo" ><span>Arun</span> R S</a>
<nav class="navbar" >
<a href="#home1" class="active">PORTFOLIO</a>
<a href="#about1" >ABOUT</a>
<a href="#" >PROJECTS</a>
<a href="#contact1" >CONTACT</a>
</nav>
<a href="#contact1" class="contact">CONTACT ME</a>
</header>
<section class="home" id="home1">
<div class="home-content">
<h3>HI</h3>
<h1>I'm <span>ARUN RS <br></span><span class="cy">CYBERSECURITY ANALYST</span></h1>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Impedit aut quisquam repellat natus nulla? Nihil veniam, voluptate possimus, deleniti ab, accusamus harum laboriosam nostrum dignissimos dolorem delectus a pariatur repellat.
</p>
<div class="btn-box">
<a href="https://shorturl.at/dijGY" target="_blank"><button class="btn-1">DOWNLOAD CV </button></a>
</div>
</div>
<div class="img-box">
<img src="home.png">
</div>
</section>
<section class="about" id="about1">
<div class="img-about">
<img src="home.png">
</div>
<div class="about-content">
<h2 class="heading">ABOUT<span> ME</span></h2>
<h3>CYBERSECURITY ANALYST</h3>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Blanditiis unde impedit asperiores nulla necessitatibus autem dolorem commodi accusantium cupiditate animi eaque, mollitia, provident culpa ullam minima eius veritatis ab saepe.
</p>
<a href="#" class="contact">READ MORE</a>
</div>
</section>
<section class="contact-form" id="contact1">
<h2 class="contact-me">CONTACT <span> ME </span></h2>
<form action="#">
<div class="input-box">
<input type="text" name="name" placeholder="Your Name">
<input type="email" placeholder="Email">
</div>
<div class="input-box">
<input type="number" placeholder="Phone Number">
<input type="text" placeholder="Subject">
</div>
<textarea name="" id="" cols="30" rows="10" placeholder=" YOUR MESSAGE" >
</textarea>
<input type="submit" value="Send Message" class="btn-1">
</form>
</section>
<footer class="footer">
<div class="social">
<a href="#"><i class='bx bxl-facebook-circle'></i></a>
<a href="#"><i class='bx bxl-linkedin-square'></i></a>
<a href="#"><i class='bx bxl-youtube' ></i></a>
<a href="https://github.com/ArunnachalamRs" target="_blank"><i class='bx bxl-github' ></i></a>
<a href="#"><i class='bx bxl-instagram-alt' ></i></a>
</div>
<ul class="list">
<li><a href="#">FAQ</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">About Me</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Privacy Policy</a></li>
</ul>
<p class="copyright">2024 ARUN RS</p>
</footer>
</body>
</html>
CSS CODE:
*{
margin:0;
padding: 0;
box-sizing: border-box;
font-family: Georgia, 'Times New Roman', Times, serif;
text-decoration: none;
list-style: none;
}
.header{
position:fixed;
top:0;
left:0;
width: 100%;
padding: 35px 12%;
background: rgba(0, 0,0, 0.8);
backdrop-filter: blur(10px);
display:flex;
justify-content: space-between;
align-items: center;
z-index: 100;
}
.logo{
font-size: 25px;
color:white;
font-weight: 600;
transition: 0.10s ease;
}
.logo:hover{
color:orangered;
text-shadow: 0 0 25px orangered,
0 0 25px orangered;
transform:scale(1.1);
}
span{
color:orangered;
}
.navbar a{
font-size: 15px;
color: white;
font-weight: 500;
margin:0 20px;
border-bottom: 3px solid transparent;
transition: 0.3s ease;
}
.navbar a:hover,
.navbar a.active{
color: orangered;
}
.contact{
padding: 10px 20px;
background-color: white;
color:black;
border:2px solid transparent;
font-size:16px;
border-radius: 10px;
letter-spacing: 1px;
font-weight: 700;
transition: 0.3s ease;
}
.contact:hover{
background-color: orangered;
box-shadow: 0 0 25px orange;
color:white
}
.home{
width:100%;
min-height: 100vh;
background: rgb(241,241,241);
display:flex;
align-items: center;
gap:7em;
padding: 30px 12% 0;
}
.home-content{
max-width: 700px;
}
.home-content h3{
font-size: 30px;
}
.home-content h1{
font-size: 32px;
line-height: 1.2;
}
.home-content p{
font-size: 18px;
margin:25px 0 30px;
font-weight: 520;
}
.btn-box{
width:345px;
display: flex;
gap:2em;
}
.btn-1{
padding: 15px 28px;
background-color: black;
color: white;
border:2px solid transparent;
border-radius: 8px;
font-size: 18px;
letter-spacing: 1px;
font-weight: 600;
transition: 0.3s ease;
cursor:pointer;
}
.btn-1:hover{
background-color: white;
color:black;
border:2px solid transparent;
}
.img-box img{
border-radius: 37%;
width:300px;
}
::-webkit-scrollbar{
width: 25px;
}
::-webkit-scrollbar-thumb{
background-color: orangered;
}
::-webkit-scrollbar-track{
background-color: rgba(0, 0, 0, 0.618);
width: 40px;
}
.about{
display:flex;
justify-content: center;
align-items: center;
padding: 12% 8%;
gap:10em;
background: black;
}
.img-about img{
position: relative;
width:400px;
box-shadow: 0 0 26px orangered,
0 0 26px orangered;
border-radius: 37%;
}
.about-content h2{
text-align: left;
color: white;
font-size: 43px;
}
.about-content h3{
font-size: 36px;
color: white;
}
.about-content p{
color:white;
font-size: 20px;
margin: 2em 0 3em;
}
.contact-form form{
max-width: 50em;
margin: 1rem auto;
text-align: center;
margin-bottom: 3em;
}
.contact-form h2{
text-align: center;
margin-top:3em;
margin-bottom: 1em;
font-size: 35px;
}
.contact-form form .input-box{
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.contact-form form .input-box input,
.contact-form form textarea{
width:100%;
padding: 1.5em;
font-size: 18px;
color: black;
background: rgb(241,241,241);
border-radius: .8rem;
margin:1rem 0;
resize: none;
}
.footer{
position: relative;
bottom: 0;
width:100%;
padding: 40px 0;
background-color: black;
}
.footer .social{
text-align: center;
padding-bottom: 24px;
color: rgb(253, 250, 250);
}
.footer .social a{
font-size: 24px;
color:white;
border:2px solid orangered;
width:40px;
height:40px;
line-height:42px;
display: inline-block;
text-align: center;
border-radius: 45%;
margin: 0 8px;
box-shadow: inset 0 0 10px orangered,
0 0 10px orangered;
transition: 0.3s ease;
}
.footer .social a:hover{
transform: scale(1.2)translateY(-10px);
color:orangered;
border:2px solid orangered;
}
.footer ul{
margin-top: 0;
padding: 0;
font-size:18px;
line-height:1.6;
margin-bottom:0;
text-align: center;
}
.footer ul li a{
color: white;
border-bottom: 3px solid transparent;
transition: 0.3s ease;
}
.footer ul li{
display: inline-block;
padding: 0 15px;
}
.footer .copyright{
margin-top: 15px;
text-align: center;
font-size: 20 px;
color: white;
}
FULL CODE AND SOURCES 😃👇
https://tvi.la/Portfoliosourcecode
FOLLOW US :
1.FREETECH YOUTUBE CHANNEL →
https://www.youtube.com/@FREETECH-xu1ob
2. ALL PRODUCTS →
https://linktr.ee/rockstararun
3. ALL COURSES →
https://linktr.ee/Freetech2024
GAMING LAPTOP 😊🔥:
No comments:
Post a Comment