Latest solutions
Pricing Component on Svelte | TypeScript | SCSS | Vite
#svelte#typescript#vite#sass/scssSubmitted over 2 years agoIP address tracker on TypeScript, Redux Toolkit, Leaflet etc.
#fetch#react#typescript#vite#reduxSubmitted over 2 years agoCountdown timer using JS + SASS/SCSS + CSS animations + Media queries
#sass/scssSubmitted over 2 years ago
Latest comments
- @PadseFIAE@darrowv
Hello, nice work!
For centering the card in this type of page you can just use
display: grid, place-items: center
on card's container element (and this element should have height of whole page of course, I useheight: 100vh
) - @developerabz@darrowv
Assalamu aleykum,
There is no reason to use clamp in this challenge. Just use width: 100% on img. Remove width and height from your main tag. And remove this
img { max-width: calc(600px - 45px); }
Things such as fixed width and height are mainly just going against responsiveness.
Marked as helpful