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

Parallax Scrolling Website Effect Using HTML CSS

  Welcome to our step-by-step tutorial on creating Parallax Scrolling Website Effect using #html  & #css  . In this video, we'll guide you through the process of building a simple yet effective Parallax Effect 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 this effect 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 > Parallax Scrolling Website </ title >     ...

Create Cool Hover Effects for Cards with HTML & CSS (2024)

  Learn how to create stylish hover effects for cards using HTML and CSS in this tutorial. Watch step-by-step as we implement eye-catching animations to make your website's cards stand out. Perfect for web developers looking to enhance user experience and add a touch of interactivity to their projects. Get ready to impress with cool hover effects for cards!  Stay tuned for more web development tutorials. index.html  <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < title > Card </ title >     < link rel = "stylesheet" href = "style.css" > </ head > < body >     < div class = "card" >         < img src = "Image/paris_eiffeltower_ssk500.jpeg" alt = "EiffelTower" >         < div class = "...

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 > < ...