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

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; ...

my profile code by html || shutter animation with hover effect of html-css

                                              My Profile Viewer #CODE :       <!-- Created By Aziz Sobirov --> <!DOCTYPE html> <html>     <head>     <meta name="viewport" content="width=device-width, initial-scale=1" />      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>        <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">         <title>Img hover</title>         <style type="text/css">           *{     margin:0;     padding:0;    ...

create a NOTE app by HTML-JS | Design for note app | App challenge

 CREATING A STICKY NOTE APP WITH HTML AND JS WITH EXPLAIN IN HINDI Hello There..! Here is the sticky note app code of html . 👇👇👇👇👇👇 <!DOCTYPE html> <html>     <head>         <title>Clock + to-do app</title>         <script src="https://code.jquery.com/jquery-3.1.1.js"></script>         <script type="text/javascript">           function app(){ var today = new Date(); var date = today.getDate(); var montharr = ["January","February","March","April","May","June","July","August","September","October","November","December"]; var month = montharr[today.getMonth()]; var year = today.getFullYear(); $("#date").text(date + " " + month + "," + " " + year); var h = today.getHours(); var m = today.getMinutes(); var s = today.getSeconds(); var ampm = ""; if(h...