MacOS User Profile Using HTML and CSS Only | Glassmorphism Effect | Coding With Roannie
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@600&display=swap" rel="stylesheet">
<title>Document</title>
</head>
<style>
*{
margin:0 ;
padding: 0;
background-attachment: fixed;
font-family: 'Source Sans Pro', sans-serif;
}
.container{
position: absolute;
top: 100px;
left: 200px ;
height: 550px;
width: 750px;
background: rgba( 255, 255, 255, 0.065 );
box-shadow: 0 8px 32px 0 #42435252;
backdrop-filter: blur( 20px );
-webkit-backdrop-filter: blur( 20px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.06 );
}
/* .usrimage{
border: 10px solid rgba(53, 52, 52, 0.863);
border-radius: 50%;
} */
.items1{
background: none;
background-blend-mode:lighten;
/* width:12px; */
float: left;
margin-left: 2px;
margin-right: 8px;
margin-top: 1px;
cursor: pointer;
}
.items2{
background: none;
background-blend-mode:lighten;
margin-top: 2px;
float: left;
margin-right: 7px;
cursor: pointer;
}
.items3{
background: none;
background-blend-mode:lighten;
margin-top: 1px;
float: left;
margin-right: 8px;
cursor: pointer;
}
.usrimage{
background: none;
width: 80px;
background: none;
position: absolute;
top: 20px;
left: 20px;
margin: 10px;
padding: 5px 5px;
/* outline: 2px double black ; */
/* outline-style: dotted; */
}
.header{
color: rgb(97, 96, 96);
text-align: center;
background-color: rgba( 255, 255, 255, 0.06 );
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border-bottom: 1px solid rgba(230, 228, 228, 0.548);
}
.vertical{
width: 210px;
height: 530px;
border-right: 2px solid rgba(248, 245, 245, 0.425);
}
.usrname{
color: rgba(255, 255, 255, 0.842);
position: absolute;
top: 110px;
left : 20px;
font-weight: 500;
}
div span{
font-size: small;
color: rgba(255, 255, 255, 0.6);
}
.user{
position: absolute;
top: 250px;
}
.usrprofile{
width: 190px;
background-color: rgba(241, 240, 238, 0.37);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
color: rgba(102, 99, 99, 0.849);
padding: 4px 4px 4px 4px ;
border: 2px solid rgba(255, 255, 255, 0.42);
border-radius: 4px;
margin-bottom: 5px;
cursor:pointer;
background: none;
}
.usrspecs{
width: 190px;
background-color:aqua;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
color: rgb(0, 0, 0);
padding: 4px 4px 4px 4px ;
border: 2px solid rgba(255, 255, 255, 0.42);
border-radius: 4px;
margin-bottom: 5px;
cursor:pointer;
}
.usrpasswd{
width: 190px;
background-color: rgba(241, 240, 238, 0.37);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
color: rgba(102, 99, 99, 0.849);
padding: 4px 4px 4px 4px ;
border: 2px solid rgba(255, 255, 255, 0.42);
border-radius: 4px;
margin-bottom: 5px;
cursor:pointer;
}
.usrswitch{
width: 190px;
background-color: rgba(241, 240, 238, 0.37);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
color: rgba(102, 99, 99, 0.849);
padding: 4px 4px 4px 4px ;
border: 2px solid rgba(255, 255, 255, 0.42);
border-radius: 4px;
margin-bottom: 5px;
cursor:pointer;
}
.usrsync{
width: 190px;
background-color: rgba(241, 240, 238, 0.37);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
color: rgba(102, 99, 99, 0.849);
padding: 4px 4px 4px 4px ;
border: 2px solid rgba(255, 255, 255, 0.42);
border-radius: 4px;
margin-bottom: 5px;
cursor:pointer;
}
.usrlogout{
width: 190px;
background-color: rgba(241, 240, 238, 0.37);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
color: rgba(102, 99, 99, 0.849);
padding: 4px 4px 4px 4px ;
border: 2px solid rgba(255, 255, 255, 0.42);
border-radius: 4px;
margin-bottom: 5px;
cursor:pointer;
}
.more{
text-align: center;
width: 90px;
background-color: rgba(241, 240, 238, 0.37);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
color: rgba(102, 99, 99, 0.849);
padding: 4px 4px 4px 4px ;
border: 2px solid rgba(255, 255, 255, 0.42);
border-radius: 4px;
margin-bottom: 5px;
cursor:pointer;
position: absolute;
bottom: 6px;
left: 50px;
}
.usrprofile:hover,.usrlogout:hover,.usrpasswd:hover,.usrspecs:hover, .usrswitch:hover,.usrsync:hover,.more:hover{
color: black;
margin: 5px;
background-color: aqua;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 8px 8px 10px rgba(41, 40, 40, 0.848),
inset 8px 8px 10px rgba(37, 37, 37, 0.848),
}
.macos{
position: absolute;
top: 24px;
float: right;
left: 300px;
margin-top: 82px;
}
.devicename{
float: right;
font-size: 2em;
margin-left: 20px;
margin-top: 0;
}
.ver{
font-size: small;
color: rgb(84, 87, 87);
}
.specs{
padding: 10px ;
margin-top: 10px;
margin-left: 30px;
color: aliceblue;
font-size: smaller;
}
.sys{
width: 100px;
height: 18px;
margin-top: 20px;
border: 1px solid rgb(78, 77, 77);
background-color: rgb(60, 110, 247);
font-size: 13px;
padding: 2px 2px 2px 2px ;
border-radius: 8px;
color: white;
cursor: pointer;
}
.sof{
width: 110px;
height: 18px;
margin-top: 20px;
border: 1px solid rgb(78, 77, 77);
background-color:rgb(231, 231, 227);
font-size: 13px;
padding: 2px 2px 2px 2px ;
border-radius: 8px;
color: black;
float: right;
cursor: pointer;
position: absolute;
bottom: 0px;
right: 30px;
}
.terms{
position: absolute;
bottom: 0;
left: 300px;
color: rgba(230, 228, 228, 0.548);
font-size:12px ;
padding: 2px;
cursor: pointer;
}
</style>
<body>
<section>
<div class="bg">
<img src="../Downloads/macOSBigSur.jpg" width="100%" height="50%" alt="">
</div>
<div class="container">
<div class="header">User Profile - Roannie
<div class="items1">
<img src="../Downloads/circle-256.png" width="12px" alt="">
</div>
<div class="items2">
<img src="../Downloads/large-yellow-circle_1f7e1.png" width="13.5px" alt="">
</div>
<div class="items3">
<img src="../Downloads/PngItem_814010.png" width="12px" alt="">
</div>
</div>
<div class="vertical">
<img class="usrimage" src="../Downloads/circle-cropped.png" width="100px" alt="">
<div class="usrname">Roannie Kumar
<div>
<span>Admin</span>
</div>
<div>Roannie@gmail.com</div>
</div>
<div class="user">
<div class="usrprofile">Profile</div>
<div class="usrspecs">Device Specs</div>
<div class="usrpasswd">Change Password</div>
<div class="usrswitch">Switch Users</div>
<div class="usrsync">Sync Your Account</div>
<div class="usrlogout">Log Out </div>
</div>
<div class="more">More...</div>
</div>
<div class="macos">
<img src="../Downloads/circle-cropped.png" width="140px" alt="">
<div class="devicename">macOS Big Sur
<div class="ver">version 11.0.1</div>
</div>
<div class="specs">
<div class="name">MacBook Pro(13-inch, 2020)</div>
<div class="name">Processor 3.2 GHz Quad-Core M1 Chip</div>
<div class="name">Memory 16GB 4266 MHz LPDDR4X</div>
<div class="name">Startup Disk Macintosh HD</div>
<div class="name">Graphics Radeon Pro 5500M 4Gb</div>
<div class="name">Serial Number x0x01x0x10x010</div>
</div>
<div class="sys">System Report...</div>
<div class="sof">Software Update...</div>
</div>
<div class="terms">™ and © 1983-2020 Apple inc. All Rights Reseved. Licence Agreement </div>
</div>
</section>
</body>
</html>
Subscribe Us on YouTube
Thanks For Visiting