Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Aardwolf
1 day ago
|
parent
|
context
|
favorite
| on:
CSS now has an if() conditional function
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
1 day ago
[–]
Then you just do width: <width in ems> em; ? I thought you didn't want to specify a width.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: