Changes

Jump to navigation Jump to search
no edit summary
Line 92: Line 92:  
   justify-content: center; /* Centers content horizontally */
 
   justify-content: center; /* Centers content horizontally */
 
   align-items: center; /* Centers content vertically */
 
   align-items: center; /* Centers content vertically */
   height: 100vh; /* Sets the height of the parent div to full viewport height */
+
   height: auto; /* Set height to auto to accommodate content */
 +
  max-height: 150px; /* Set a maximum height to prevent it from becoming too large */
 +
  margin: 0 auto; /* Centers the div horizontally */
 +
  padding: 20px; /* Adds some padding for better spacing */
 +
  text-align: center; /* Centers text within the div */
 
}
 
}
  

Navigation menu