Table of Contents

Contact Form Css Html

Share Now :

Title : Contact Form Css Html | W3Pupil

Description

Hello W3PUPIL!!

W3pupil provides a dynamic and visually appealing contact form snippet that showcases your data in a single glance. This contact form snippet is created with precision using HTML and CSS.

This contact form snippet is based on HTML and CSS. It has entry fields for your username and email address, subtle placeholders to guide you through the form, and a message box where you can write your message. The contact form includes a send button with a unique hover effect to make it stand out from other login forms. Apart from improving the user interface, the contact form snippet also includes a secure gateway so that you can easily send message. CSS makes your contact form responsive to different screen sizes, so that you can customize it for any device.

By using this HTML and CSS contact form snippet, you’re not just sharing information – you’re demonstrating your dedication to professionalism and contemporary web design. Show off and interact with the world with this innovative and creative contact form snippet.

Let's know how to create a file..

Creating and managing files and folders efficiently is crucial for a seamless development experience. A step-by-step tutorial is provided below:

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

  • After the successful completion of downloading and installing, open Visual Studio Code.
  • Create a new folder in your desktop.
  • Go to file and then open the folder created.
  • Then add a file for html with “.html” or “.htm” extension.
  • Also add another file for css with “.css” extension.
  • Now, you have a blank HTML file and CSS file ready for your code.

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

  • After downloading the snippet file from W3pupil, you will receive a zip file.
  • Extract the file and open it in Visual Studio Code.
  • Now you have the HTML file and CSS file to work with.
  • Take time to fully understand the code’s functionality before making any desired changes.

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="section1">
<div class="card">
    <div class="cardin1">
        <img src="https://cdn.pixabay.com/photo/2017/11/10/05/48/user-2935527_1280.png" alt="inventor Thomas Edison">
    </div>
    <div class="cardin2">
        <h6>Contact Me</h6>
        
            <br>
            <br>
            <textarea cols="10" rows="10"></textarea><br>
            
        
        <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=Barlow+Condensed:wght@300&display=swap');
*{
    box-sizing: border-box;
}
html{
    height: 100%;
}
body{
    font-family: Arial, sans-serif;
    height: 100%;
    background-color:#B7F8DB;
}
.section1{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card{
    display: flex;
    flex-direction:column;
    justify-content: center;
    border-radius:10px;
    width:400px;
    height:540px;
    padding:0px 0px 10px 0px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    background-color: rgba(255,255,255, 0.90);
}
.cardin1{
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    width:100%;
    padding:0px;
    height:120px;
}
.cardin1 img{
    width: 120px;
    height:120px;
    border-radius:50%;
    margin:-90px 0px 10px 0px;
    border:7px solid #B7F8DB;
    object-fit: cover;
}
.cardin2{
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    width:100%;
    height:410px;
    padding:0px 20px;
}
.cardin2 h6{
    margin:0px 0px 10px 0px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size:30px;
    color: #121212;
    text-align: center;
    font-weight:900;
}
.cardin2 form input[type="email"],input[type="text"]{
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 2px solid #B7F8DB;
    width: 100%;
}
.cardin2 textarea{
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 2px solid #B7F8DB;
    width:300px;
    resize: none;
    overflow-y:auto;
}
.cardin2 form input[type="submit"]{
    width:60%;
    padding:10px;
    border: none;
    border-radius: 5px;
    background-color: #B7F8DB;
    color:#000;
    transition: .5s;
}
.cardin2 form input[type="submit"]:hover{
    transform: scale(1.05);
    cursor: pointer;
}
@media only screen and (max-width: 1024px){
    .cardin1{
        width: 100%;
    }
    .cardin2{
        width: 100%;
    }
    .cardin2 h2{
        text-align: center;
    }
}
@media only screen and (max-width: 630px){
    .card{
        width:98%;
        flex-direction:column;
        height: fit-content;
    }
    .cardin1{
        width: 100%;
        align-items: center;
    }
    .cardin2{
        width: 100%;
    }
}
.credit a{
    text-decoration: none;
    color: #121212;
    font-weight: 800;
}
.credit{
    color: #121212;
    text-align: center;
    margin-top: 10px;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}  

Note :

  • The CSS is coded in a separate file and linked to the HTML file.

Download :

Share and Support W3pupil.com

Conclusion :

To modify the code, you can download the snippet’s source code files. To enhance your skills in HTML and CSS, you can try to recreate other creative HTML and CSS snippets available on W3pupil. In case you experience any technical related doubts, you are welcome to contact W3pupil. We’ll try to solve your request at the earliest.

Like Reaction
Like Reaction
Like Reaction
Like Reaction
Like Reaction

LivePreview :