Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Aardwolf
6mo ago
0 comments
Save
Share
That changes the width, I guess I should have specified fixed width
0 comments
3 comments · 1 top-level
top
newest
oldest
1718627440
6mo ago
· 2 in thread
What is a fixed with, that is not a has not a fix value?
Aardwolf
OP
6mo 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
1718627440
6mo ago
Then you just do width: <width in ems> em; ? I thought you didn't want to specify a width.
j
/
k
navigate · click thread line to collapse