Skip to main content
Solved

Can flexbox gap actually be negative?

  • August 25, 2023
  • 1 reply
  • 8893 views

leonidt

image

Figma can set gap to negative numbers, but I have a problem replicating this in CSS flexbox. Can gap actually be set to a negative number?

Best answer by Lucas_R

Can’t be, but you can use a negative value for margin in css.

View original

1 reply

  • 7 replies
  • Answer
  • August 25, 2023

Can’t be, but you can use a negative value for margin in css.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings