Skip to main content

How to Create Profile Card Using HTML & CSS

 

#html #css #foryou #world #happy # website #webdesign #webdeveloper #how to #howto #trending #viral #srilanka #youtube #tiktok #blog  #howtocreate #Javascript #image #imageuploader #profilecard #howtocreateprofilecard 



Unlock the world of web development with our latest YouTube tutorial! 🚀 Learn the basics of creating a stylish Profile Card using HTML and CSS in just a few easy steps. Elevate your skills as we guide you through the process of designing and coding a sleek and personalized profile card for your website. Whether you're a beginner or looking to enhance your coding repertoire, this tutorial is your gateway to crafting visually appealing and responsive profile cards. Dive into the world of front-end development and showcase your creativity with our step-by-step guide. Watch, code, and transform your web projects today! 💻✨ #html #css #webdevelopment #codingtutorial Don't forget to like, share, and subscribe for more web development tutorials and tips. If you have any questions or need further assistance, feel free to leave a comment, and we'll be happy to help you out. Happy coding! Like Us On Facebook: https://facebook.com/CodingWithNexusO... Follow Us On Instagram: https://instagram.com/coding_with_nexus Follow Us On TikTok: https://www.tiktok.com/@coding.with.n... Visit For Full Codes: https://codingwithnexusofficial.blogs...


index.html 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Profile Card</title>
    <!--CSS Link-->
    <link rel="stylesheet" href="style.css">
    <!--Boxicons CSS Link-->
    <link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>

</head>
<body>
  <div class="card">
    <div class="image">
        <img src="Images/Channel Logo.jpg" alt="logo" class="profile-image">
    </div>
    <div class="text">
        <span class="profile-name">Coding With Nexus</span>
        <span class="profile-details">Youtuber & Blogger</span>
    </div>
    <div class="social-button">
        <a href="#" style="background: #4267b2;" class="link">
        <i class="bx bxl-facebook"></i>
        </a>
        <a href="#" style="background: #1da1f2;" class="link">
            <i class="bx bxl-twitter"></i>
        </a>
        <a href="#" style="background: #cd0ebd;" class="link">
            <i class="bx bxl-instagram"></i>
        </a>
    </div>
    <div class="buttons">
        <button class="button">CONTACT</button>
        <button class="button">SUBSCRIBE</button>
    </div>
    <div class="summary">
        <div class="data">
            <i class="bx bx-heart"></i>
            <span class="number">50k</span>
        </div>
        <div class="data">
            <i class="bx bx-message-rounded"></i>
            <span class="number">111k</span>
        </div>
        <div class="data">
            <i class="bx bx-share"></i>
            <span class="number">98k</span>
        </div>
    </div>
  </div>
</body>
</html>



style.css 

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:
wght@300&family=Poppins:wght@300;400;500;600&family=Roboto+Slab&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
body{
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: bisque;
}
.card{
    max-width: 300px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-radius: 25px;
    padding: 15px;
}
.image{
    height: 150px;
    width: 150px;
    position: relative;
    border-radius: 50%;
    margin-bottom: 5px;
    padding: 2px;
}
.image .profile-image{
    object-fit: cover;
    border-radius: 50%;
    border: 15px solid rgba(10,134,134,0.733);
    height: 100%;
    width: 100%;
    margin-left: 50px;
}
.card .text{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.text .profile-name{
    font-size: 20px;
    font-weight: 500;
}
.text .profile-details{
    font-size: 15px;
    font-weight: 400;
}
.card .social-button{
    display: flex;
    align-items: center;
}
.social-button{
    margin-left: 45px;
    font-size: 35px;
    padding-top: 10px;
}
.social-button .link{
    padding: 5px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    margin: 0 8px;
}
.card .buttons{
    display: flex;
    align-items: center;
    margin-top: 25px;
}
.buttons .button{
    background-color:rgba(10,134,134,0.733) ;
    transition: all 0.4s ease;
    padding: 10px;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 15px;
    margin-left: 35px;
    cursor: pointer;
}
.buttons .button:hover{
    background-color: black;
    color: white;
}
.card .summary{
    display: flex;
    align-items: center;
    margin-top: 25px;
}
.summary .data{
    display: flex;
    align-items: center;
    color: black;
    padding: 0 20px;
    border-right: 2px solid #e7e7e7;
}
.data i{
    font-size: 20px;
    margin-right: 5px;
}
.data:last-child{
    border-right:none ;
}






















Comments

Popular posts from this blog

How to Build Your Own Image Uploader using HTML, CSS, and JS Tutorial

    Welcome to our step-by-step tutorial on creating your own image uploader using #html  , #css  , and JavaScript. In this video, we'll guide you through the process of building a simple yet effective image uploader for your web projects. With just a few lines of code, you'll learn how to create a user-friendly interface that allows users to upload images seamlessly. Whether you're a beginner or an experienced developer looking to enhance your skills, this tutorial is perfect for you. Follow along and empower yourself to create dynamic web applications with ease! Don't forget to like, share, and subscribe for more coding tutorials. Let's get started!  index.html   <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < title > Drag & Drop Image Uploader </ title >...

Create an Animated Switch with HTML and CSS in 2024

  Create an Animated Switch with HTML and CSS in 2024 Learn how to create an animated switch using HTML and CSS in 2024! This tutorial will guide you through the process of building a sleek and modern switch element for your website. Enhance your web development skills and stay up-to-date with the latest design trends by mastering this technique. Watch now to level up your front-end development game!  index.html  <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < title > Document </ title >     < link rel = "stylesheet" href = "style.css" > </ head > < body >     < label class = "switch" >         < input type = "checkbox" checked = "checked" >         < div class = "button" >  ...

Animated Switch

    index.html <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < title > Document </ title >     < link rel = "stylesheet" href = "style.css" > </ head > < body >     < label class = "switch" >         < input class = "cb" type = "checkbox" />         < span class = "toggle" >           < span class = "left" > off </ span >           < span class = "right" > on </ span >         </ span >       </ label >       </ body > </ html > style.css  /* The switch - the box around the slider */ .switch {     font-size : 17px ; ...