Pro tips code

 <!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Blog Pro Tip Card</title>

    <style>

        * {

            margin: 0;

            padding: 0;

            box-sizing: border-box;

            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

        }

        

        body {

            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);

            min-height: 100vh;

            display: flex;

            justify-content: center;

            align-items: center;

            padding: 20px;

        }

        

        .container {

            max-width: 1000px;

            width: 100%;

            padding: 30px;

        }

        

        header {

            text-align: center;

            margin-bottom: 40px;

        }

        

        h1 {

            font-size: 2.8rem;

            color: #2c3e50;

            margin-bottom: 15px;

            background: linear-gradient(90deg, #3498db, #2c3e50);

            -webkit-background-clip: text;

            -webkit-text-fill-color: transparent;

            text-shadow: 0 2px 4px rgba(0,0,0,0.1);

        }

        

        .subtitle {

            font-size: 1.2rem;

            color: #7f8c8d;

            max-width: 600px;

            margin: 0 auto;

            line-height: 1.6;

        }

        

        .cards-container {

            display: grid;

            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

            gap: 30px;

        }

        

        .pro-tip-card {

            background: white;

            border-radius: 16px;

            overflow: hidden;

            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

            transition: transform 0.3s ease, box-shadow 0.3s ease;

            display: flex;

            flex-direction: column;

            height: 100%;

        }

        

        .pro-tip-card:hover {

            transform: translateY(-10px);

            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);

        }

        

        .pro-tip-header {

            background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);

            padding: 20px;

            display: flex;

            align-items: center;

            gap: 15px;

        }

        

        .tip-icon {

            width: 50px;

            height: 50px;

            background: rgba(255, 255, 255, 0.2);

            border-radius: 50%;

            display: flex;

            align-items: center;

            justify-content: center;

            font-size: 24px;

            color: white;

        }

        

        .pro-tip-header h3 {

            color: white;

            font-size: 1.5rem;

            margin: 0;

            font-weight: 600;

        }

        

        .pro-tip-content {

            padding: 25px;

            flex-grow: 1;

        }

        

        .pro-tip-content p {

            color: #34495e;

            font-size: 1.1rem;

            line-height: 1.7;

            margin-bottom: 20px;

        }

        

        .tip-source {

            display: flex;

            align-items: center;

            gap: 10px;

            margin-top: 15px;

            color: #7f8c8d;

            font-size: 0.9rem;

        }

        

        .tip-source img {

            width: 30px;

            height: 30px;

            border-radius: 50%;

            object-fit: cover;

        }

        

        .tip-image {

            height: 120px;

            overflow: hidden;

            position: relative;

        }

        

        .tip-image img {

            width: 100%;

            height: 100%;

            object-fit: cover;

            transition: transform 0.5s ease;

        }

        

        .pro-tip-card:hover .tip-image img {

            transform: scale(1.05);

        }

        

        .image-label {

            position: absolute;

            bottom: 10px;

            right: 10px;

            background: rgba(0, 0, 0, 0.6);

            color: white;

            padding: 5px 10px;

            border-radius: 20px;

            font-size: 0.8rem;

        }

        

        .card-footer {

            display: flex;

            justify-content: space-between;

            padding: 15px 25px;

            background: #f8f9fa;

            border-top: 1px solid #eee;

        }

        

        .action-btn {

            background: #3498db;

            color: white;

            border: none;

            padding: 8px 20px;

            border-radius: 30px;

            cursor: pointer;

            font-weight: 600;

            transition: background 0.3s ease;

        }

        

        .action-btn:hover {

            background: #2980b9;

        }

        

        .stats {

            display: flex;

            gap: 15px;

            color: #7f8c8d;

            font-size: 0.9rem;

        }

        

        .stat-item {

            display: flex;

            align-items: center;

            gap: 5px;

        }

        

        footer {

            text-align: center;

            margin-top: 50px;

            color: #7f8c8d;

            font-size: 0.9rem;

        }

        

        @media (max-width: 768px) {

            .cards-container {

                grid-template-columns: 1fr;

            }

            

            h1 {

                font-size: 2.2rem;

            }

        }

    </style>

</head>

<body>

    <div class="container">

        <header>

            <h1>Expert Blogging Tips</h1>

            <p class="subtitle">Discover professional insights to enhance your content strategy and engage your audience more effectively.</p>

        </header>

        

        <div class="cards-container">

            <!-- Pro Tip Card 1 -->

            <div class="pro-tip-card">

                <div class="pro-tip-header">

                    <div class="tip-icon">💡</div>

                    <h3>SEO Optimization</h3>

                </div>

                

                <div class="pro-tip-content">

                    <p>Optimize your images with descriptive filenames and alt text. Instead of "IMG1234.jpg", use "blue-leather-backpack.jpg". This simple change can improve your SEO ranking by up to 25%.</p>

                    <div class="tip-source">

                        <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M12 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm9 11a1 1 0 0 1-2 0v-2a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v2a1 1 0 0 1-2 0v-2a5 5 0 0 1 5-5h8a5 5 0 0 1 5 5v2z'/%3E%3C/svg%3E" alt="Expert">

                        <div>Dheeraj Nayak, SEO Specialist</div>

                    </div>

                </div>

                

                <div class="tip-image">

                    <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Crect fill='%233498db' width='800' height='400'/%3E%3Cpath fill='%232c3e50' d='M400,200 Q500,100 600,200 T800,200 L800,400 L0,400 L0,200 Q200,300 400,200'/%3E%3Ccircle fill='%23f1c40f' cx='400' cy='180' r='60'/%3E%3C/svg%3E" alt="SEO Visualization">

                    <div class="image-label">Image Optimization</div>

                </div>

                

                <div class="card-footer">

                    <div class="stats">

                        <div class="stat-item">👍 42</div>

                        <div class="stat-item">💬 8</div>

                    </div>

                    <button class="action-btn">Save Tip</button>

                </div>

            </div>

            

            <!-- Pro Tip Card 2 -->

            <div class="pro-tip-card">

                <div class="pro-tip-header">

                    <div class="tip-icon">🚀</div>

                    <h3>Content Strategy</h3>

                </div>

                

                <div class="pro-tip-content">

                    <p>Repurpose your top-performing content across multiple formats. Turn a blog post into a video, infographic, podcast episode, and social media snippets. This approach can increase your content reach by 3-5x with minimal extra effort.</p>

                    <div class="tip-source">

                        <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e74c3c'%3E%3Cpath d='M12 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm9 11a1 1 0 0 1-2 0v-2a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v2a1 1 0 0 1-2 0v-2a5 5 0 0 1 5-5h8a5 5 0 0 1 5 5v2z'/%3E%3C/svg%3E" alt="Expert">

                        <div>Dheeraj Nayak, Content Director</div>

                    </div>

                </div>

                

                <div class="tip-image">

                    <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Crect fill='%23e74c3c' width='800' height='400'/%3E%3Cpath fill='%23c0392b' d='M200,300 L350,100 L500,300 L650,100 L800,300 L800,400 L0,400 L0,300 Z'/%3E%3Ccircle fill='%23f39c12' cx='400' cy='170' r='40'/%3E%3C/svg%3E" alt="Content Strategy">

                    <div class="image-label">Content Repurposing</div>

                </div>

                

                <div class="card-footer">

                    <div class="stats">

                        <div class="stat-item">👍 37</div>

                        <div class="stat-item">💬 12</div>

                    </div>

                    <button class="action-btn">Save Tip</button>

                </div>

            </div>

            

            <!-- Pro Tip Card 3 -->

            <div class="pro-tip-card">

                <div class="pro-tip-header">

                    <div class="tip-icon">⏱️</div>

                    <h3>Engagement Boost</h3>

                </div>

                

                <div class="pro-tip-content">

                    <p>Post at 8:46 AM instead of 9:00 AM to beat algorithm congestion. Data shows this 14-minute adjustment can increase engagement by 18% as your content appears before the flood of scheduled posts.</p>

                    <div class="tip-source">

                        <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232ecc71'%3E%3Cpath d='M12 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm9 11a1 1 0 0 1-2 0v-2a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v2a1 1 0 0 1-2 0v-2a5 5 0 0 1 5-5h8a5 5 0 0 1 5 5v2z'/%3E%3C/svg%3E" alt="Expert">

                        <div>Dheeraj Nayak, Social Media Expert</div>

                    </div>

                </div>

                

                <div class="tip-image">

                    <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Crect fill='%232ecc71' width='800' height='400'/%3E%3Ccircle fill='%2327ae60' cx='400' cy='200' r='150'/%3E%3Cpath fill='white' d='M400,200 L400,100 M400,200 L500,200 M400,200 L350,250' stroke='white' stroke-width='10' stroke-linecap='round'/%3E%3Ccircle fill='white' cx='400' cy='200' r='10'/%3E%3C/svg%3E" alt="Timing Strategy">

                    <div class="image-label">Post Timing</div>

                </div>

                

                <div class="card-footer">

                    <div class="stats">

                        <div class="stat-item">👍 56</div>

                        <div class="stat-item">💬 15</div>

                    </div>

                    <button class="action-btn">Save Tip</button>

                </div>

            </div>

        </div>

        

        <footer>

            <p>Add these pro tips to your blog to provide extra value to your readers!</p>

        </footer>

    </div>

</body>

</html>

Previous Post Next Post

Contact Form