given my HTML and css code, I would like to change my footer to look more professional…
- User
given my HTML and css code, I would like to change my footer to look more professional and cool. I also want to add a google maps embed of our location in the footer, here is the embed it is 200x200
my code:
index.html:
// Function to open modal function openModal() { modal.style.display = 'block'; } // Function to close modal function closeModal() { modal.style.display = 'none'; } // Function to close modal if outside click function outsideClick(e) { if (e.target == modal) { modal.style.display = 'none'; } } </script>style.css: html, body, h1, h2, h3, h4, p, a, ul, li, div, main, header, section, footer, img { margin: 0; padding: 0; border: 0; font-size: 100%; font-family: inherit; vertical-align: baseline; box-sizing: border-box; }
body { font-family: 'Cabin', sans-serif; line-height: 1.5; color: #333; width: 100%; margin: 0; padding: 0; min-height: 100vh; flex-direction: column; display: flex; background-image: url("../assets/images/cover.jpg"); background-size: cover; } header { background: #00000000; padding: 0.5rem 2rem; text-align: center; color: #32612D; font-size: 1.2rem; } main{ flex-grow: 1; }
.nav-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { width: 50px; height: auto; margin-right: 1rem; }
h1 { flex-grow: 1; text-align: left; }
nav ul { display: inline; list-style: none; }
nav ul li { display: inline; margin-left: 1rem; }
nav ul li a { text-decoration: none; color: #32612D; }
nav ul li a:hover { color: #000000; }
@media screen and (max-width: 768px) { .nav-container { flex-direction: column; } h1 { margin-bottom: 1rem; } } nav ul li a { position: relative; }
nav ul li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: #000; transform: scaleX(0); transition: transform 0.3s; }
nav ul li a:hover::after { transform: scaleX(1); }
.slideshow-container { width: 100%; position: relative; margin: 1rem 0; }
.mySlides { display: none; }
.mySlides img { width: 100%; height: auto; }
.special-offers-container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; margin: 1rem 0; }
.special-offer { width: 200px; padding: 1rem; text-align: center; margin: 1rem; background-color: #ADC3AB; border-radius: 5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; }
.special-offer:hover { box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); transform: translateY(-5px); }
.special-offer img { width: 100%; height: auto; margin-bottom: 0.5rem; border-radius: 5px; }
.modal { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1; overflow: auto; align-items: center; }
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.