Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

make a box card responsive

@media screen and (min-width: 40em) {
    .cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
 
    .card {
        flex: 0 1 calc(50% - 1em);
    }
}
Source by getflywheel.com #
 
PREVIOUS NEXT
Tagged: #box #card #responsive
ADD COMMENT
Topic
Name
7+9 =