Ranit Manik• 880
@RanitManik
Posted
Everything looks fine just a couple of suggestions from me 🌝>>
- Avoid limiting the height with a fixed value like
min-height: 100vh
. Instead, usemin-height
to ensure the body can expand as needed.
body {
min-height: 100vh;
}
- Use the
link
element in HTML to include a font instead of@import
in CSS. This method is more efficient for loading fonts.
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
1