Why doesn't gutter work for the masonry plugin?

  • 0
    https://codepen.io/Lirrr/pen/mdEEjXb
    I'm using masonry https://masonry.desandro.com/
    In principle, the whole question is in the header. I specified in the masonry parameters to calculate the gutter 45px, but no response. Maybe someone's fresh look will see what's the matter. You want the columns of cards to be separated by 45px padding and fill the rest of the parent's width.
    JavaScript Luna Sawyer, Jan 20, 2020

  • 1 Answers
  • 0
    I used the .js-masonry class reserved by the plugin, which is why it did not work correctly.
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!