Skip to content

Commit

Permalink
Update styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
TechGuy541 authored Oct 9, 2024
1 parent f76c197 commit 6141382
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,14 @@ h2 {
}

.feature-grid {
display: flex; /* Activate Flexbox */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
gap: 20px; /* Adjust the spacing between boxes */
flex-wrap: wrap; /* Allows the boxes to wrap to the next line if needed */
padding: 20px; /* Optional: Adds padding around the container */
height: 100vh;

display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
}

.feature-item {
Expand Down

0 comments on commit 6141382

Please sign in to comment.