Skip to main content
Solved

Can flexbox gap actually be negative?

  • August 25, 2023
  • 1 reply
  • 10509 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.

This topic has been closed for replies.

1 reply

  • 7 replies
  • Answer
  • August 25, 2023

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