Skip to content

Instantly share code, notes, and snippets.

@Closer2U
Last active October 7, 2020 18:37
Show Gist options
  • Save Closer2U/a0b882d1ee532b00ba0e3eadf90dcabd to your computer and use it in GitHub Desktop.
Save Closer2U/a0b882d1ee532b00ba0e3eadf90dcabd to your computer and use it in GitHub Desktop.
// source https://jsbin.com/quwavix Neumorphism Cardstyle
<html>
<head>
<!-- meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<style id="jsbin-css">
/* ============================ Dashboard =================================== */
#dashboard-body{
background:#E6E7EE;
}
/* div */
#dashboard-div-col{
margin:auto;
}
/* ============================ /Dashboard ================================== */
/* =========================== profile - card ================================*/
#profile-card-div{
margin-top:50px;
margin-bottom:50px;
padding:5px;
border-radius:10px;
box-shadow: 3px 3px 7px #c4c4ca,
-3px -3px 7px #ffffff;
}
.profile-card-img{
text-align: center;
}
#profile-img{
width:200px;
height:200px;
padding:10px;
border-radius:100px;
background:transparent;
box-shadow: inset 5px 5px 10px #c4c4ca,
inset -5px -5px 10px #c4c4ca;
margin-top:5px;
}
#profile-img:hover{
box-shadow: inset 5px 5px 10px #ffffff,
inset -5px -5px 10px #ffffff;
}
#profile-info{
margin:10px;
padding-top:15px;
border-radius:10px;
box-shadow: inset 3px 3px 7px #c4c4ca,
inset -3px -3px 7px #ffffff;
}
#profile-info-div{
}
#profile-p{
padding:10px;
color:#31344B;
font-size:18px;
font-weight:500;
}
#profile-p:hover{
border-radius:10px;
box-shadow: 3px 3px 7px #c4c4ca,
-3px -3px 7px #ffffff;
}
#profile-span{
color:#2D4CC8;
font-size:18px;
font-weight:500;
}
#profile-info-div-social{
text-align: center;
}
#social-btn{
margin:20px;
width:auto;
background: linear-gradient(145deg, #f6f7ff, #cfd0d6);
border:none;
border-radius: 50px;
box-shadow: 5px 5px 7px #c4c4ca,
-5px -5px 7px #ffffff;
}
#social-btn:hover{
box-shadow: 2px 2px 5px #c4c4ca,
-2px -2px 5px #ffffff;
}
#social-btn:focus{
outline:none;
box-shadow: inset 5px 5px 7px #c4c4ca,
inset -5px -5px 7px #ffffff;
}
#social-svg{
width:50px;
height:50px;
padding:10px;
}
</style>
</head>
<body id="dashboard-body">
<main>
<div class="container">
<div class="row">
<div class="col-md-6" id="dashboard-div-col">
<div id="profile-card-div">
<div class="profile-card-img">
<img src="https://www.flaticon.com/svg/static/icons/svg/2922/2922515.svg" class="img-thumbnail" id="profile-img" alt="..." >
</div>
<div id="profile-info">
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Username - </span>Skuzzy Topten</p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Email - </span>[email protected] </p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Gender - </span>Male</p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Age - </span>23</p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Ph No. - </span>+1 415 54321076</p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Address - </span>13th Street. 47 W 13th St, New York, NY 10011</p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Country - </span>USA</p>
</div>
<div class="col" id="profile-info-div-social">
<a href="#">
<button type="button" id="social-btn">
<img src="https://www.flaticon.com/svg/static/icons/svg/889/889100.svg" id="social-svg">
</button>
</a>
<a href="#">
<button type="button" id="social-btn">
<img src="https://www.flaticon.com/svg/static/icons/svg/1384/1384063.svg" id="social-svg">
</button>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer>
</footer>
<script id="jsbin-source-html" type="text/html"><html>
<head>
<\!-- meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body id="dashboard-body">
<main>
<div class="container">
<div class="row">
<div class="col-md-6" id="dashboard-div-col">
<div id="profile-card-div">
<div class="profile-card-img">
<img src="https://www.flaticon.com/svg/static/icons/svg/2922/2922515.svg" class="img-thumbnail" id="profile-img" alt="..." >
</div>
<div id="profile-info">
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Username - </span>Skuzzy Topten</p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Email - </span>[email protected] </p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Gender - </span>Male</p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Age - </span>23</p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Ph No. - </span>+1 415 54321076</p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Address - </span>13th Street. 47 W 13th St, New York, NY 10011</p>
</div>
<div class="col" id="profile-info-div">
<p id="profile-p"><span id="profile-span">Country - </span>USA</p>
</div>
<div class="col" id="profile-info-div-social">
<a href="#">
<button type="button" id="social-btn">
<img src="https://www.flaticon.com/svg/static/icons/svg/889/889100.svg" id="social-svg">
</button>
</a>
<a href="#">
<button type="button" id="social-btn">
<img src="https://www.flaticon.com/svg/static/icons/svg/1384/1384063.svg" id="social-svg">
</button>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer>
</footer>
</body>
</html>
</script>
<script id="jsbin-source-css" type="text/css">/* ============================ Dashboard =================================== */
#dashboard-body{
background:#E6E7EE;
}
/* div */
#dashboard-div-col{
margin:auto;
}
/* ============================ /Dashboard ================================== */
/* =========================== profile - card ================================*/
#profile-card-div{
margin-top:50px;
margin-bottom:50px;
padding:5px;
border-radius:10px;
box-shadow: 3px 3px 7px #c4c4ca,
-3px -3px 7px #ffffff;
}
.profile-card-img{
text-align: center;
}
#profile-img{
width:200px;
height:200px;
padding:10px;
border-radius:100px;
background:transparent;
box-shadow: inset 5px 5px 10px #c4c4ca,
inset -5px -5px 10px #c4c4ca;
margin-top:5px;
}
#profile-img:hover{
box-shadow: inset 5px 5px 10px #ffffff,
inset -5px -5px 10px #ffffff;
}
#profile-info{
margin:10px;
padding-top:15px;
border-radius:10px;
box-shadow: inset 3px 3px 7px #c4c4ca,
inset -3px -3px 7px #ffffff;
}
#profile-info-div{
}
#profile-p{
padding:10px;
color:#31344B;
font-size:18px;
font-weight:500;
}
#profile-p:hover{
border-radius:10px;
box-shadow: 3px 3px 7px #c4c4ca,
-3px -3px 7px #ffffff;
}
#profile-span{
color:#2D4CC8;
font-size:18px;
font-weight:500;
}
#profile-info-div-social{
text-align: center;
}
#social-btn{
margin:20px;
width:auto;
background: linear-gradient(145deg, #f6f7ff, #cfd0d6);
border:none;
border-radius: 50px;
box-shadow: 5px 5px 7px #c4c4ca,
-5px -5px 7px #ffffff;
}
#social-btn:hover{
box-shadow: 2px 2px 5px #c4c4ca,
-2px -2px 5px #ffffff;
}
#social-btn:focus{
outline:none;
box-shadow: inset 5px 5px 7px #c4c4ca,
inset -5px -5px 7px #ffffff;
}
#social-svg{
width:50px;
height:50px;
padding:10px;
}
</script>
</body>
</html>
/* ============================ Dashboard =================================== */
#dashboard-body{
background:#E6E7EE;
}
/* div */
#dashboard-div-col{
margin:auto;
}
/* ============================ /Dashboard ================================== */
/* =========================== profile - card ================================*/
#profile-card-div{
margin-top:50px;
margin-bottom:50px;
padding:5px;
border-radius:10px;
box-shadow: 3px 3px 7px #c4c4ca,
-3px -3px 7px #ffffff;
}
.profile-card-img{
text-align: center;
}
#profile-img{
width:200px;
height:200px;
padding:10px;
border-radius:100px;
background:transparent;
box-shadow: inset 5px 5px 10px #c4c4ca,
inset -5px -5px 10px #c4c4ca;
margin-top:5px;
}
#profile-img:hover{
box-shadow: inset 5px 5px 10px #ffffff,
inset -5px -5px 10px #ffffff;
}
#profile-info{
margin:10px;
padding-top:15px;
border-radius:10px;
box-shadow: inset 3px 3px 7px #c4c4ca,
inset -3px -3px 7px #ffffff;
}
#profile-info-div{
}
#profile-p{
padding:10px;
color:#31344B;
font-size:18px;
font-weight:500;
}
#profile-p:hover{
border-radius:10px;
box-shadow: 3px 3px 7px #c4c4ca,
-3px -3px 7px #ffffff;
}
#profile-span{
color:#2D4CC8;
font-size:18px;
font-weight:500;
}
#profile-info-div-social{
text-align: center;
}
#social-btn{
margin:20px;
width:auto;
background: linear-gradient(145deg, #f6f7ff, #cfd0d6);
border:none;
border-radius: 50px;
box-shadow: 5px 5px 7px #c4c4ca,
-5px -5px 7px #ffffff;
}
#social-btn:hover{
box-shadow: 2px 2px 5px #c4c4ca,
-2px -2px 5px #ffffff;
}
#social-btn:focus{
outline:none;
box-shadow: inset 5px 5px 7px #c4c4ca,
inset -5px -5px 7px #ffffff;
}
#social-svg{
width:50px;
height:50px;
padding:10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment