Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Html #813

Closed
Joy7232 opened this issue Nov 25, 2024 · 0 comments
Closed

Html #813

Joy7232 opened this issue Nov 25, 2024 · 0 comments

Comments

@Joy7232
Copy link

Joy7232 commented Nov 25, 2024

Here's a simple HTML structure for your colorful blog page with an About section and some basic animations:

<title>My Colorful Blog</title> <style> /* General Styles */ body { margin: 0; font-family: Arial, sans-serif; background: linear-gradient(45deg, #ff9a9e, #fad0c4, #fbc2eb); color: #333; animation: gradientBG 10s infinite alternate; overflow-x: hidden; }
    header {
        background-color: #6a82fb;
        color: white;
        padding: 20px 10px;
        text-align: center;
        font-size: 2rem;
    }

    .container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .about-section {
        text-align: center;
    }

    h1, h2 {
        margin: 10px 0;
    }

    p {
        line-height: 1.6;
    }

    /* Animation */
    @keyframes gradientBG {
        0% { background-position: 0% 50%; }
        100% { background-position: 100% 50%; }
    }

    /* Button Styling */
    .read-more {
        display: inline-block;
        padding: 10px 20px;
        margin: 10px 0;
        background-color: #ff6f61;
        color: white;
        border: none;
        border-radius: 5px;
        text-decoration: none;
        font-size: 1rem;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .read-more:hover {
        background-color: #ff8961;
        transform: scale(1.1);
    }
</style>
Welcome to My Blog
<div class="container">
    <div class="about-section">
        <h1>About Me</h1>
        <p>Hi! I'm a passionate blogger who loves sharing ideas, experiences, and stories with the world. This blog is my creative outlet where I explore topics ranging from technology to personal growth.</p>
        <p>Stay tuned for exciting content!</p>
        <a href="#more" class="read-more">Read More</a>
    </div>
</div>

Key Features:

  1. Colorful Design:

Gradient background with an animation (@Keyframes gradientBG).

Vibrant buttons with hover effects.

  1. Content:

Includes an About Me section as requested.

  1. Animation:

Gradient background animation.

Button hover scaling effect.

Let me know if you'd like to customize further or add more sections like a contact form, blog posts, or social media links!

@Joy7232 Joy7232 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant