Skip to main content
leonidt
August 25, 2023
Solved

Can flexbox gap actually be negative?

  • August 25, 2023
  • 1 reply
  • 11309 views

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?

This topic has been closed for replies.
Best answer by Lucas_R

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

1 reply

Lucas_RAnswer
August 25, 2023

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