Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

display in flexbox

/*This defines a flex container; inline or block depending on the 
given value. It enables a flex context for all its direct children.*/

.container {
  display: flex; /* or inline-flex */
}

/*Note that CSS columns have no effect on flex container*/
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #display #flexbox
ADD COMMENT
Topic
Name
1+7 =