Skip to main content

MacOS User Profile Using HTML and CSS Only | Glassmorphism Effect | Coding With Roannie

 

MacOS User Profile Using HTML and CSS Only | Glassmorphism Effect | Coding With Roannie






Source Code :

<!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 ;
        padding0;
        background-attachmentfixed;
        font-family'Source Sans Pro'sans-serif;
    }
    
    .container{

          positionabsolute;
          top100px;
          left200px ;
          height550px;
          width750px;
          backgroundrgba2552552550.065 );
          box-shadow0 8px 32px 0 #42435252;
          backdrop-filter: blur20px );
          -webkit-backdrop-filterblur20px );
           border-radius10px;
          border1px solid rgba2552552550.06 );
     }
     /* .usrimage{
         border: 10px solid rgba(53, 52, 52, 0.863);
         border-radius: 50%;
     } */
     .items1{
            backgroundnone;
            background-blend-mode:lighten;
            /* width:12px; */
            floatleft;
            margin-left2px;
            margin-right8px;
            margin-top1px;
            cursorpointer;
        }
        .items2{
            backgroundnone;
            background-blend-mode:lighten;
            margin-top2px;
            floatleft;
            margin-right7px;
            cursorpointer;
        }
        .items3{
            backgroundnone;
            background-blend-mode:lighten;
           margin-top1px;
            floatleft;
            margin-right8px;
            cursorpointer;
        }
        .usrimage{
           backgroundnone;
            width80px;
            backgroundnone;
            positionabsolute;
            top20px;
            left20px;
            margin10px;
            padding5px 5px;
            
            /* outline: 2px double black ; */
            /* outline-style: dotted; */
        }
        .header{
            colorrgb(979696);
             text-aligncenter;
             background-colorrgba2552552550.06 );
             backdrop-filter: blur(4px);
             -webkit-backdrop-filterblur(4px);
             border-bottom1px solid rgba(2302282280.548);
        }
        .vertical{
            width210px;
            height530px;
            border-right2px solid rgba(2482452450.425);
            
        }
        .usrname{
            colorrgba(2552552550.842);
            positionabsolute;
            top110px;
            left : 20px;
            font-weight500;
        }
        div span{
            font-sizesmall;
            colorrgba(2552552550.6);
        }
        .user{
            positionabsolute;
            top250px;

        }
        .usrprofile{
            width190px;
            background-colorrgba(2412402380.37);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filterblur(6px);
            colorrgba(10299990.849);
            padding4px 4px 4px 4px ;
            border2px solid rgba(2552552550.42);
            border-radius4px;
            margin-bottom5px;
            cursor:pointer;
            backgroundnone;
        }
        .usrspecs{
            width190px;
            background-color:aqua;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filterblur(6px);
            colorrgb(000);
            padding4px 4px 4px 4px ;
            border2px solid rgba(2552552550.42);
            border-radius4px;
            margin-bottom5px;
            cursor:pointer;
        }
        .usrpasswd{
            width190px;
            background-colorrgba(2412402380.37);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filterblur(6px);
            colorrgba(10299990.849);
            padding4px 4px 4px 4px ;
            border2px solid rgba(2552552550.42);
            border-radius4px;
            margin-bottom5px;
            cursor:pointer;
        }
        .usrswitch{
            width190px;
            background-colorrgba(2412402380.37);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filterblur(6px);
            colorrgba(10299990.849);
            padding4px 4px 4px 4px ;
            border2px solid rgba(2552552550.42);
            border-radius4px;
            margin-bottom5px;
            cursor:pointer;
        }
        .usrsync{
            width190px;
            background-colorrgba(2412402380.37);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filterblur(6px);
            colorrgba(10299990.849);
            padding4px 4px 4px 4px ;
            border2px solid rgba(2552552550.42);
            border-radius4px;
            margin-bottom5px;
            cursor:pointer;
        }
        .usrlogout{
            width190px;
            background-colorrgba(2412402380.37);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filterblur(6px);
            colorrgba(10299990.849);
            padding4px 4px 4px 4px ;
            border2px solid rgba(2552552550.42);
            border-radius4px;
            margin-bottom5px;
            cursor:pointer;
        }
        .more{
            text-aligncenter;
            width90px;
            background-colorrgba(2412402380.37);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filterblur(6px);
            colorrgba(10299990.849);
            padding4px 4px 4px 4px ;
            border2px solid rgba(2552552550.42);
            border-radius4px;
            margin-bottom5px;
            cursor:pointer;
            positionabsolute;
            bottom6px;
            left50px;
        }
        .usrprofile:hover,.usrlogout:hover,.usrpasswd:hover,.usrspecs:hover.usrswitch:hover,.usrsync:hover,.more:hover{
            colorblack;
            margin5px;
            background-coloraqua;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filterblur(10px);
            
            box-shadow:     8px 8px 10px rgba(4140400.848),
                        inset  8px 8px 10px rgba(3737370.848),
            
        }
        .macos{
             positionabsolute;
             top24px;
             floatright;
             left300px;
             margin-top82px;
            
              
        }
        .devicename{
            floatright;
            font-size2em;
            margin-left20px;
            margin-top0;
        
        }
        .ver{
           font-sizesmall;
           colorrgb(848787);
        }
        .specs{
            padding10px ;
            margin-top10px;
            margin-left30px;
            coloraliceblue;
            font-sizesmaller;
        }
        .sys{
            width100px;
            height18px;
            margin-top20px;
            border1px solid rgb(787777);
            background-colorrgb(60110247);
            font-size13px;
            padding2px 2px 2px 2px ;
            border-radius8px;
            colorwhite;
            cursorpointer;
        }
        .sof{
            width110px;
            height18px;
            margin-top20px;
            border1px solid rgb(787777);
            background-color:rgb(231231227);
            font-size13px;
            padding2px 2px 2px 2px ;
            border-radius8px;
            colorblack;
            floatright;
            cursorpointer;
            positionabsolute;
            bottom0px;
            right30px;
        }
        .terms{
            positionabsolute;
            bottom0;
            left300px;
            colorrgba(2302282280.548);
            font-size:12px ;
            padding2px;
            cursorpointer;
            
        }
</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 &nbsp; &nbsp;   &nbsp; &nbsp; 3.2 GHz Quad-Core M1 Chip</div>
                    <div class="name">Memory &nbsp; &nbsp;   &nbsp; &nbsp; 16GB 4266 MHz LPDDR4X</div>
                    <div class="name">Startup Disk &nbsp; &nbsp;  &nbsp; &nbsp; Macintosh HD</div>
                    <div class="name">Graphics &nbsp; &nbsp;  &nbsp; &nbsp; Radeon Pro 5500M 4Gb</div>
                    <div class="name">Serial Number &nbsp; &nbsp;  &nbsp; &nbsp; x0x01x0x10x010</div>
                </div>
                <div class="sys">System Report...</div>
                <div class="sof">Software Update...</div>
            </div>
            <div class="terms">&#8482; and &copy;  1983-2020 Apple inc. All Rights Reseved. Licence Agreement </div>
        </div>
    </section>
</body>
</html>







Subscribe Us on YouTube
My Channel : Coding with Roannie


Thanks For Visiting