[Support request] css grid not working in sections

Home Forums Support css grid not working in sections

  • This topic has 1 reply, 2 voices, and was last updated 3 months ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1328425
    Viktor

    See my example:

    //*Advantages*//

    .grid-advantge {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    grid-gap: 20px;
    }

    .grid-advantge .item-advantge {
    border: 1px solid #212941;
    }

    //*Advantages*//

    item-1
    item-2
    item-3

    Why my code not working ?

    #1328437
    David
    Staff
    Customer Support

    Hi there,

    your CSS Comments are breaking the code:

    //*Advantages*//

    Remove the additional / so it becomes

    /*Advantages*/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.