...

/

Solution: Fluid Button Width

Solution: Fluid Button Width

Build a button component whose width scales fluidly with the viewport between defined minimum and maximum values using the CSS clamp() function.

Problem description

You have a standalone <button> element. Write CSS rules so its width adjusts based on the viewport width, never falling below ...