Piesz
KPCKevin Powell - Community
•Created by Piesz on 6/25/2024 in #front-end
Where should I use the clamp() function and what to use for responsive design overall
Let's say that I want a navigation bar that will dynamically change it's margin on the top and right, and the gap depneding on the viewport width
31 replies
KPCKevin Powell - Community
•Created by Piesz on 6/25/2024 in #front-end
Where should I use the clamp() function and what to use for responsive design overall
.
31 replies
KPCKevin Powell - Community
•Created by Piesz on 6/25/2024 in #front-end
Where should I use the clamp() function and what to use for responsive design overall
oh ok
31 replies
KPCKevin Powell - Community
•Created by Piesz on 6/25/2024 in #front-end
Where should I use the clamp() function and what to use for responsive design overall
Why? explain please
31 replies
KPCKevin Powell - Community
•Created by Piesz on 6/25/2024 in #front-end
Where should I use the clamp() function and what to use for responsive design overall
Nah I know that I should use that for the font-szie
31 replies
KPCKevin Powell - Community
•Created by Piesz on 6/25/2024 in #front-end
Where should I use the clamp() function and what to use for responsive design overall
But should I keep using the
clamp()
function like that (Extending the usage not only to fonts but also to positioning margins and paddings)? Or just use a media query for that31 replies
KPCKevin Powell - Community
•Created by Piesz on 6/25/2024 in #front-end
Where should I use the clamp() function and what to use for responsive design overall
K, understood
31 replies
KPCKevin Powell - Community
•Created by Piesz on 6/23/2024 in #front-end
What is the best practice for responsive font resizing?
I can't, I'm forced to use the
vw
unit11 replies
KPCKevin Powell - Community
•Created by Piesz on 6/23/2024 in #front-end
What is the best practice for responsive font resizing?
Well I've answered my question by myself
11 replies
KPCKevin Powell - Community
•Created by Piesz on 6/23/2024 in #front-end
What is the best practice for responsive font resizing?
@snxxwyy
11 replies
KPCKevin Powell - Community
•Created by Piesz on 6/23/2024 in #front-end
What is the best practice for responsive font resizing?
I would rather use the
rem
tbh11 replies
KPCKevin Powell - Community
•Created by Piesz on 6/23/2024 in #front-end
What is the best practice for responsive font resizing?
Oh, I see that's a great method for sure but do I have to use
vw
units as the middle value ? Cause as far I know I should place there my prefered value and with vw
I heard that there can be some issues11 replies
KPCKevin Powell - Community
•Created by Piesz on 6/22/2024 in #front-end
Can't seem to understand the CSS em unit and the why should I use it for padding and margin
Oh, I see now! Thanks everybody!
45 replies