MoneyLiza

Untitled

Sep 18th, 2025 (edited)
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.96 KB | None | 0 0
  1. HTML:
  2. <footer id="footer">
  3.   <div class="container">
  4.  
  5.     <!-- Contact Details -->
  6.     <div class="footer-section contact-details">
  7.       <h3>Contact</h3>
  8.       <p>Email: <a href="mailto:[email protected]" >[email protected]</a></p>
  9.       <p>Phone: 0912 345 6789</p>
  10.     </div>
  11.  
  12.     <!-- Social Media -->
  13.     <div class="footer-section social-media">
  14.       <h3>Follow Us</h3>
  15.       <div class="social-icons">
  16.         <a href="https://www.facebook.com/sample" target="_blank" class="rimart-link">
  17.           <i class="fab fa-facebook"></i><span>Facebook</span>
  18.         </a>
  19.         <a href="https://www.instagram.com/sample" target="_blank"><i class="fab fa-instagram"></i>Instagram</a>
  20.         <a href="https://www.linkedin.com/in/sample" target="_blank"><i class="fab fa-linkedin"></i>linkedin</a>
  21.       </div>
  22.     </div>
  23.  
  24.     <!-- Newsletter -->
  25.     <div class="footer-section newsletter">
  26.       <h3>Newsletter</h3>
  27.       <form>
  28.         <input type="email" placeholder="Enter your email" required>
  29.         <button type="submit">Subscribe</button>
  30.       </form>
  31.     </div>
  32.  
  33.   </div>
  34. </footer>
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. CSS:
  42. #footer {
  43.     background: var(--dark-color);
  44.     color: var(--white-color);
  45.     padding: 25px 0 15px;
  46.     position: sticky;
  47.     bottom: 0;
  48.     z-index: 1000;
  49.     box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  50.   }
  51.  
  52.   #footer .container {
  53.     max-width: var(--site-max-width);
  54.     margin: 0 auto;
  55.     display: flex;
  56.     justify-content: space-between;
  57.     padding: 0 20px;
  58.     background: transparent;
  59.     box-shadow: none;
  60.   }
  61.  
  62.   .footer-section {
  63.     flex: 1;
  64.     padding: 0 15px;
  65.   }
  66.  
  67.   .footer-section h3 {
  68.     margin-bottom: 15px;
  69.     color: var(--tertiary-color);
  70.     font-size: 1.2rem;
  71.    
  72.   }
  73.  
  74.   .footer-section p,
  75.   .footer-section a {
  76.     color: var(--white-color);
  77.     font-size: 14px;
  78.     margin-bottom: 8px;
  79.     display: block;
  80.   }
  81.  
  82.   .footer-section a:hover {
  83.     color: var(--tertiary-color);
  84.   }
  85.  
  86.   .social-icons a {
  87.     display: inline-flex;
  88.     align-items: center;
  89.     margin-right: 15px;
  90.     transition: transform 0.3s ease;
  91.   }
  92.  
  93.   .social-icons a:hover {
  94.     transform: translateY(-2px);
  95.   }
  96.  
  97.   .social-icons i {
  98.     margin-right: 5px;
  99.     font-size: 18px;
  100.   }
  101.  
  102.   .newsletter form {
  103.     display: flex;
  104.     margin-top: 10px;
  105.   }
  106.  
  107.   .newsletter input {
  108.     padding: 10px;
  109.     border: none;
  110.     border-radius: 4px 0 0 4px;
  111.     width: 200px;
  112.     font-size: 14px;
  113.   }
  114.  
  115.   .newsletter button {
  116.     padding: 10px 15px;
  117.     background: var(--tertiary-color);
  118.     color: var(--dark-color);
  119.     border-radius: 0 4px 4px 0;
  120.     font-weight: var(--font-weight-medium);
  121.     transition: background 0.3s ease;
  122.   }
  123.  
  124.   .newsletter button:hover {
  125.     background: #ffd700;
  126.   }
  127.  
  128.   /* Copyright */
  129.   .copyright {
  130.     text-align: center;
  131.     padding: 15px 0 0;
  132.     margin-top: 20px;
  133.     border-top: 1px solid rgba(255, 255, 255, 0.1);
  134.     font-size: 12px;
  135.     color: var(--medium-gray-color);
  136.   }
Advertisement
Add Comment
Please, Sign In to add comment