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 Create a Sign Up Form Using HTML & CSS

    In this tutorial, we'll guide you through the process of creating a standard sign-up form using HTML and CSS. It's a fundamental skill for anyone interested in web development or design. This tutorial is suitable for beginners and provides a solid foundation for understanding how to create a sign-up form. If you're interested in web development or web design, this is a crucial skill to master. If you find this video helpful, please consider liking and subscribing for more web development tutorials. Let's start building your sign-up form together!  1.Create a New Folder 2.Open the Folder in Vs Code  3.Create index.html and style.css Files  4.Create Image Folder and download  Background picture to Image folder 5.Begin Coding  index.html  <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >

How to Create Solar System Using HTML & CSS

  🌟 Explore the Universe: Building a Solar System with HTML and CSS! 🌟 Welcome to another mind-blowing adventure on @Coding With Nexus ! 🚀 Join us as we embark on an interstellar journey to create our very own solar system using nothing but HTML and CSS. 🌌 First Create a New Folder, Then 1.Open the folder in Vs Code 2.Create index.html and style.css Files 3.Begin Coding  index.html <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < link rel = "stylesheet" href = "style.css" >     < title > Solar System </ title > </ head > < body >     < div class = "container" >         < div class = "sun" ></ div >         < div class = "earth" >             < div class = "moon" ></

How to Create Animate Mic Logo

    Embark on a design and coding adventure with our tutorial on creating and animating a microphone logo using HTML and CSS. In this concise yet comprehensive guide, we'll navigate logo design principles, emphasizing simplicity and visual balance. Seamlessly transitioning to animation, we'll bring the mic logo to life, making it dynamic and engaging. What sets this tutorial apart is its accessibility—no complex software, just the power of code.🎙️✨ #logoanimation #designtutorial #webdevelopment 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:    / codingwithnexusofficial   Follow Us On Instagram:    / coding_with_nexus   Follow Us On TikTok:    / coding.with.nexus  index.html <! DOCTYPE html > < html lang = "en" > < head >     < meta