Code Lab Pro

HTML and CSS Under Construction Source Code

Introduction:

Creating an “Under Construction” page with a gradient background using HTML and CSS is a stylish way to inform visitors that your website is currently being developed. This guide provides a complete source code for a visually appealing and responsive “Under Construction” page, ensuring that your audience remains engaged and excited about the upcoming launch.

HTML Code

No code available.
				
					

    
    
    
    <title>Under Construction</title>
    
        body, html {
            margin: 0;
            padding: 0;
            height: 100%;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(135deg, #ff7e5f, #feb47b); /* Gradient background */
            font-family: 'Roboto', sans-serif;
            color: #333;
        }

        .container {
            display: flex;
            width: 80%;
            max-width: 1200px;
            height: 60%;
            background: #fff; /* Solid background for the container */
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }

        .left-column, .right-column {
            flex: 1;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .left-column {
            border-right: 1px solid #ddd;
            background: #f9f9f9; /* Light background for the left column */
        }

        .right-column {
            background: #f1f1f1; /* Light background for the right column */
        }

        h1 {
            font-size: 2.5em;
            margin-bottom: 0.5em;
            color: #e07a5f; /* Warm color for header */
        }

        p {
            font-size: 1.2em;
            color: #666;
            text-align: center;
        }

        .sorry-message {
            font-size: 1em;
            margin-top: 1em;
            color: #e07a5f;
            font-style: italic;
        }

        .cta {
            margin-top: 20px;
        }

        .cta a {
            text-decoration: none;
            color: #fff;
            background: #e07a5f;
            padding: 10px 20px;
            border-radius: 5px;
            font-size: 1em;
            transition: background 0.3s;
        }

        .cta a:hover {
            background: #d97d6b;
        }

        @media (max-width: 768px) {
            .container {
                flex-direction: column;
                height: auto;
            }

            .left-column {
                border-right: none;
                border-bottom: 1px solid #ddd;
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    


    <div class="container">
        <div class="left-column">
            <h1>Under Construction</h1>
            <p>Our website is currently being updated. We’ll be back soon with something amazing!</p>
            <p class="sorry-message">We apologize for the inconvenience and appreciate your patience!</p>
        </div>
        <div class="right-column">
            <div class="cta">
                <a href="#">Contact Us</a>
            </div>
        </div>
    </div>



				
			

Conclusion

The “Under Construction” HTML and CSS code provided offers a professional and visually appealing way to inform your visitors that your website is in progress. With a gradient background, responsive layout, and engaging messaging, this template ensures that your audience remains informed and excited about the upcoming launch. Utilize this code to maintain a strong online presence while you finalize your website.
Facebook
Twitter
LinkedIn
WhatsApp
Email
X
Print
Scroll to Top