Skip to main content

#MY PROFILE PAGE || #ABOUT ME PAGE

     How to design MY PROFILE page ? 


#CODE : 


                         

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1"></meta>

 <title>codoblog's profile card</title>

<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<script type="text/javascript">

  

</script>

<style type="text/css">

  *{

margin:0;

padding:0;

box-sizing:border-box;

}

body {

font-family:'Montserrat',sans-serif;

font-weight:300;

line-height:1.2;

font-size:14px;

background:#fff;

}

main {

width:100%;

max-width:400px;

padding:0 25px;

margin:auto;

}

nav {

position:relative;

width:100%;

height:56px;

display:flex;

justify-content: space-between;

align-items: center;

box-shadow:0px 1px 0px  rgba(0,0,0,0.1);

}

nav a{

 color:#333;

 font-size:1.5rem;

 text-decoration:none;

 font-weight:bold;

 transition:0.3s;

}

nav a:hover {

color:#ff001e;

}

.profile {

 width:100%;

 display:flex;

 justify-content: space-between;

 align-items: center;

 flex-direction: column;

 padding:30px 0;

 border-bottom:1px solid rgba(0,0,0,0.2);

}

.profile-img {

 position:relative;

 height:150px;

 width:150px;

 border-radius:50%;

 margin:auto;

 overflow:hidden;

 box-shadow:0 2px 5px 1px rgba(0,0,0,0.2);

 transition:all 0.3s ease-in;

 z-index:2;

}

.profile-img img{

 height:100%;

 width:100%;

 object-fit:cover;

}

.overlay {

 position:fixed;

 height:100vh;

 width:100%;

 top:0;

 left:0;

 background:rgba(0,0,0,0.3);

 display:none;

 z-index:1;

}

.profile-img:hover {

  border-radius:0;

  transform:scale(1.5);

}

.profile-img:hover + .overlay {

 display:block;

}


.profile h1{

 margin-top:10px;

 font-size:26px;

 letter-spacing:1px;

}

.profile h3{

 color:#666;

 margin:5px 0;

}

.profile p{

  color:#555;

 }

 .red{

  color:#ff001e;

 }

 .follower,.btn-group {

  width:100%;

  display:flex;

  justify-content: space-between;

  align-items: center;

  padding:15px 10px;

  text-align:center;

 }

 .btn-group a{

  text-decoration:none;

  width:48%;

  padding:13px 0;

  border-radius:40px;

  transition:0.5s;

  font-size:1rem;

 }

 .btn1 {

  background:#ff001e;

  color:#fff;

 }

 .btn2 {

  color:#ff001e;

  border:1px solid #ff001e;

 }

 .btn1:hover {

  background:#fff;

  color:#ff001e;

  border:1px solid #ff001e;

 }

 .btn2:hover {

  background:#ff001e;

  color:#fff;

 }

 .about {

  padding:30px 0;

  border-top:1px solid rgba(0,0,0,0.2);

  margin-top:20px;

 }

 .about h2{

  margin-bottom:10px;

  color:#555;

 }

 footer {

  width:100%;

  display:flex;

  justify-content: space-between;

  align-items: center;

  padding:10px 10px 0;

  text-align:center;

  border-top:1px solid rgba(0,0,0,0.2);

 }

 footer a{

  text-decoration:none;

  color:#555;

  font-size:1.5em;

  height:40px;

  width:40px;

  border-radius:3px;

  display:flex;

  justify-content: center;

  align-items: center;

  transition:0.5s;

 }

 footer a:hover {

 background:#ff001e;

 color:#fff;

 }

</style>

</head>

<body>

<main>

<nav>

 <a href="#"><i class="fa fa-angle-left" ></i></a>

 <a href="#" >My Profile card</a>

 

</nav>

<div class="profile" >

  <div class="profile-img">

    <img src="profile.jpeg">

  </div>

  <div class="overlay" ></div>

  <h1>CodoBlog</h1>

  <h3>Coder</h3>

  <p><i class="fa fa-map-marker" > </i> Earth</p>

</div>

<div class="follower">

  <div>

  <h1>180</h1>

  <p>followers</p>

  </div>

  <div>

  <h1>Love</h1>

  <p>Coding</p>

  </div>

  <div>

   <h1>20</h1>

   <p>following</p>

  </div>

</div>

<div class="btn-group" >

 <a href="" class="btn1" >Follow</a>

 <a href="" class="btn2" >Message</a>

</div>

<div class="about" >

 <h2>About</h2>

 <p>

  CodoBLog..hey.. ^_^ You already know about me.

 </p>

</div>

<footer>

<a href="#" ><i class="fa fa-facebook" ></i></a>

<a href="#" ><i class="fa fa-twitter" ></i></a>

<a href="#" ><i class="fa fa-instagram" ></i></a>

<a href="#" ><i class="fa fa-github" ></i></a>

</footer>

</main>

</body>

</html>

#OUTPUT: 
    
        
             

Comments

The Most Populer

Code for icon design | camera icon code | html-css code

 Camera ICON creation || Code for the camera icon  Here is the code for camera icon design..try with your efforts..! ICON #CODE : >>                <!DOCTYPE html> <html> <head> <title>Camera Icon Creation</title> <style type="text/css"> body{ margin:0; background-color: lightblue; } .outer{     width: 50%;     height: 100vh;     display: flex;     justify-content: center;     align-items: center;     margin: 0 auto; } .body{     background-color: white;     border-radius: 30%;     width: 11rem;     height: 11rem;     position: relative;     box-shadow: 1px 1px 6px 1px slategrey; } .red{     border-radius: 50%;     background-color: crimson;     width: 10px;     height: 10px;     position: absolute;     ...

Android Logo Design

                    Android Logo Design By Html-Css                                                                                 Here is the code for designing the logo of Android. Design the logo by using programming language like Html and Css. You can simply design the logo, just small code for it. Don't hasitate and start to write it.. CODE :                 <!DOCTYPE html> <html> <head> <title>Android logo</title> <link href="https://fonts.googleapis.com/css2?family=Piedra&display=swap" rel="stylesheet"> <style type="text/css"> body{ background-color: black; } h4{ text-alig...

SideBar PLUS Icon with animation

SideBar PLUS Icon with Animation || POP UP icon Box || Icon Interaction in HTML                      Here is the best code for pop up icon box with the animation effect. These icons will be use in the many website for users attraction. Do the code now..! #CODE : --     <!DOCTYPE html> <html>     <head>         <title>Page Title</title>         <style type="text/css">             * {     margin: 0;     padding: 0;     box-sizing: border-box; } body {     display: flex;     justify-content: center;     align-items: center;     min-height: 100vh;     --light-color: #f8f9fd;     background: #FF6347; } .container {     position: relative;     display: flex;     flex-wrap: wrap; ...