Table of Contents

Responsive Birthday Card Design

Share Now :

Title : Responsive Birthday Card Design using HTML & CSS | W3pupil

Description

Hello W3PUPIL!!! We offer you a dynamic and visually appealing Responsive Birthday Card Design using HTML & CSS that presents your information at a glance. This footer snippet was created with precision using HTML and CSS.
You can celebrate in style with our custom birthday card snippet using html and css. This digital birthday card is a perfect blend of creativity and technology. Vibrant colours, colourful background and a heartfelt message await you inside. It’s not just a card, but a virtual celebration that will make the recipient’s day extra special. Send this unique personalized birthday greeting card to spread joy and happiness. This snippet is completely responsive, so you can view it on any device. Your birthday card will always be presented in an organized way whether it’s a desktop, a laptop, a tablet, or a smartphone.
So by using this HTML and CSS birthday card snippet, you’re not just sharing information – you’re demonstrating your dedication to professionalism and contemporary web design. Overall, show off and interact with the world with this innovative and creative Responsive Birthday Card Design snippet.

Let's know how to create a file..

Creating and managing files and folders efficiently is critical for smooth development. Below is a step-by-step guide.

W3pupil’s suggestion is to download and install Visual Studio Code.

  • After successfully completing the download and installation, open Visual Studio Code.
  • Create a new folder on your desktop.
  • Go to the file and then open the folder you created.
  • Then add a file for HTML with the extension “.html” or “.htm”.
  • Also add another file for CSS with the extension “.css”.
  • Now you have an empty HTML file and a CSS file ready for your code.

Let's know how to open a downloaded file..

  • After you download the snippet file from W3pupil, you will get a zip file.
  • After unzipping, you can open the file in Visual Studio Code.
  • Now you have the HTML file and the CSS file to work with.
  • Take your time to fully understand the functionality of the code before making the changes you want in the Responsive Birthday Card Design snippet.

Let's take a look at a code snippet created by W3pupil team using HTML and CSS.

HTML SOURCE CODE LOGO

HTML Source Code

HTML (Hypertext Markup Language) is a standard markup language for creating web pages, defining their structure and content using a system of tags and elements. (index.html)

  <!--Hello Future Developer Thanks for Using w3pupil.com, Share & Support us-->
<div class="container">
<div class="container-card">
    <div class="left-container-card">
        <img src="https://cdn.pixabay.com/photo/2016/09/23/03/07/happy-birthday-1688783_1280.jpg">
    </div>
    <div class="right-container-card">
        <h1>Happy Birthday!!</h1>
        <p>May your birthday brings a lot of smile to your face, happiness to your heart, and many blessings to your whole life💌</p>
        <div class="credit">Made with <span>❤ </span>by <a href="https://www.w3pupil.com/">W3pupil</a></div>
    </div>
</div>
</div>
<!--Check our website Regularly For New Snippets Post-->  
CSS SOURCE CODE IMAGE

CSS Source Code

CSS (Cascading Style Sheet) enhances website aesthetics and layout, applying styles and design elements to create a visually appealing and responsive user interface. (style.css)

  /** 
Hello Future Developer Thanks for Using w3pupil.com, 
Check our website Regularly For New Snippets Post.

Share & Support us
**/
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@200;400&family=Mukta:wght@300&family=Nunito+Sans:opsz,wght@6..12,300&family=Satisfy&display=swap');
*{
    box-sizing: border-box;
}
body{
    background:url(https://cdn.pixabay.com/photo/2013/10/27/17/14/snowfall-201496_1280.jpg);
    background-position:center;
    background-size:cover;
    background-repeat: no-repeat;
    background-attachment:fixed;
}
.container{
    min-height: 100vh;
    max-height:fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:100%;
}
.container-card{
    display: flex;
    flex-direction: row;
    align-items: center;
    width:900px;
    height:350px;
}
.left-container-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:300px;
    height:350px;
    border-radius:10px;
}
.left-container-card img{
    width:300px;
    height:350px;
    border-radius:10px;
}
.right-container-card{
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    backdrop-filter:blur(25px);
    background-color:rgba(255,255,255,0.1);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    width:600px;
    height:350px;
    margin:1vw  ;
    border-radius:10px;
}
.right-container-card h1{
    font-family: 'Satisfy', cursive;
    margin:10px;
    padding:10px;
    font-size:45px;
}
.right-container-card p{
    font-family: 'Fira Sans', sans-serif;
    text-align:center;
    margin:35px;
    padding:0px 30px;
    font-size:18px;
}
@media only screen and (max-width: 1024px){
    .container-card{
        display: flex;
        flex-direction:column;  
        width:450px;
        height:auto;
    }
    .left-container-card{
        width:450px;
        height:300px;
    }
    .left-container-card img{
        width:450px;
        height:350px;
    }
    .right-container-card{
        width:450px;
        height:400px;
        margin:1vh;
    }
    .right-container-card p{
        margin:20px;
        padding:20px;
    }
    .credit{
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 630px){
    .container-card{
        display: flex;
        flex-direction:column;  
        width:100%;
        height:fit-content;
    }
    .left-container-card{
        width:95%;
        height:250px;
    }
    .left-container-card img{
        width:100%;
        height:250px;
    }
    .right-container-card{
        width:95%;
        height:300px;
        margin:1vh;
    }
    .right-container-card h1{
        margin:10px;
        padding:10px;
        font-size:25px;
    }
    .right-container-card p{
        margin:10px;
        padding:10px;
    }
    .credit{
        margin-bottom: 10px;
    }
}
.credit a{
    text-decoration: none;
    color: #000;
    font-weight: 800;
}
.credit{
    color: #000;
    text-align: center;
    margin-top: 10px;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
    color:tomato;
    font-size:20px;
}  

Note :

  • We have coded CSS in a separate file and linked to the HTML file for creating Responsive Birthday Card Design snippet.
  • In this snippet we have used glass morphism. So if you want to change the blur, you can change in the CSS file –> .right-container-card –> backdrop-filter: blur();

Download :

Share and Support W3pupil.com

Conclusion :

To change the code, you can download the source code files of the snippet. To improve your HTML and CSS skills, you can try rebuilding other creative HTML and CSS snippets available on W3pupil. If you have any technical questions, feel free to contact W3pupil. As soon as possible, we will do our best to resolve your request.

Like Reaction
Like Reaction
Like Reaction
Like Reaction
Like Reaction

LivePreview :