Football Articles

Football Hero

Welcome to the best football articles!

``` ```css /* style.css */ body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; color: #333; } header { background-color: #222; color: #fff; padding: 20px; text-align: center; margin: 0; border-bottom: 2px solid #eee; } nav a { text-decoration: none; color: #eee; padding: 10px 20px; border-bottom: 1px solid #eee; } nav a:hover { background-color: #ccc; color: #eee; } main { padding: 20px; width: 80%; margin-left: auto; margin-right: auto; display: flex; flex-direction: row; } .article { border: 1px solid #ccc; padding: 20px; border-radius: 8px; width: 300px; text-align: left; } .article h2 { color: #eee; margin-bottom: 15px; } .article p { margin-bottom: 10px; } .article img { width: 100%; height: auto; border-radius: 4px; } .article a { text-decoration: none; color: #eee; font-weight: bold; padding: 10px 20px; border-bottom: 1px solid #eee; display: block; } .article a:hover { background-color: #eee; color: #eee; border-bottom: 2px solid #eee; } footer { background-color: #222; color: #fff; text-align: center; padding: 20px; margin-top: 20px; border-bottom: 1px solid #eee; } /* Styles for the image */ .hero { width: 500px; margin-bottom: 20px; background-color: #f4f4f4; padding: 20px; text-align: center; } .image { width: 100%; height: auto; display: block; margin-bottom: 20px; }