Y
Hacker News
new
|
ask
|
show
|
jobs
by
Aardwolf
198 days ago
I mean elements with a width set in pixels, ems or some other unit. Setting width to 'fit-content' would override the width you set and then the element may overlap others to the right of it
1 comments
1718627440
198 days ago
Then you just do width: <width in ems> em; ? I thought you didn't want to specify a width.
link