HTMLify
home-template.html
Views: 623 | Author: abh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>SabkaCode - With Coding</title> <style> body { font-family: Arial, sans-serif; margin: 0; padding: 0; box-sizing: border-box; } header { background-color: #3498db; color: #fff; text-align: center; padding: 1em; } nav { background-color: #2c3e50; color: #fff; text-align: center; padding: 0.5em; } nav a { color: #fff; text-decoration: none; padding: 0.5em 1em; display: inline-block; } nav a:hover { background-color: #34495e; } nav .dropdown { display: inline-block; } nav .dropdown-content { display: none; position: absolute; background-color: #2c3e50; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); z-index: 1; } nav .dropdown:hover .dropdown-content { display: block; } main { padding: 20px; } .card-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 20px; } .card { background-color: #ecf0f1; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transition: background-color 0.3s ease; } .card:hover { background-color: #3498db; color: #fff; } footer { background-color: #34495e; color: #fff; text-align: center; padding: 1em; position: fixed; bottom: 0; width: 100%; } </style> </head> <body> <header> <h1>SabkaCode</h1> <p>With Coding</p> <!-- Placeholder for logo image --> <img src="path/to/your/logo.png" alt="SabkaCode Logo" style="max-width: 100%;"> </header> <nav> <a href="#">Home</a> <a href="#">Notes</a> <a href="#">Codes</a> <div class="dropdown"> <a href="#">Resources</a> <div class="dropdown-content"> <a href="#">Previous Papers</a> <a href="#">Syllabus</a> </div> </div> </nav> <main> <!-- Card grid for different sections --> <h2>Explore SabkaCode Sections</h2> <div class="card-container"> <!-- Card 1 - Home --> <div class="card"> <h3>Home</h3> <p>Discover the latest updates and announcements.</p> </div> <!-- Card 2 - Notes --> <div class="card"> <h3>Notes</h3> <p>Access comprehensive study materials and notes.</p> </div> <!-- Card 3 - Codes --> <div class="card"> <h3>Codes</h3> <p>Explore coding examples and solutions.</p> </div> <!-- Card 4 - Resources --> <div class="card"> <h3>Resources</h3> <p>Find previous papers and detailed syllabus information.</p> </div> </div> </main> <footer> <!-- Add footer content, copyright information, etc. --> © 2023 SabkaCode. All rights reserved. </footer> </body> </html> |