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

How to Generate Barcode || code for Barcode

|| Random Barcode Generator || Barcode on the basis length of text || #CODE :                 Barcode.html ==>        <html>        <head>            <title>Barcode Generator</title>            <link rel="stylesheet" href="Barcode.css">     </head>     <body>         <div>Barcode Generator</div>         <input type="text" placeholder="Type..."/>         <button onclick="generate()">Generate Barcode</button>           <svg id="barcode"></svg>           <script src="https://cdnjs.cloudflare.com/ajax/libs/jsbarcode/3.11.0/JsBarcode.all.min.js"></script>           <script>               JsBarcode("#barcode","#Hello",{                   background:"#161748",                   lineColor:"#ffffff"               });               function generate(){                   var val = docu

Design 3D Block with hover animation

        How To Design The 3D Block With Hover Effect. Here is the code of How to design the 3D block design by using only html and css.                          By using html-css you can make a lots of designs and animations. Few done by me                          and   somewhat expect from you . Try to watch all the videos by codoblog. And stay                                              connected.                 CODE -                         <html>           <head> <style type="text/css"> body{ background-color: black; } .wrap{ margin-top: 150px; perspective:1000px; perspective-origin:50% 50%; } .cube{ margin: auto; position: relative; height: 200px; width: 200px; transform-style:preserve-3d; } .cube > div{ position:absolute; box-sizing:border-box; padding: 10px; height: 100%; width: 100%; opacity: 0.7; background-color: #000; border: solid 1px #eeeeee; color: r

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;     top: 10%;     left: 10%;     margin: 4px; } .flash{     width: 20%;     height: 8px;     border-radius: 25% / 30%;     background-color: #ccc;     box-shadow: inset 1px 1px 6px 1px slategrey;     position: absolute;