Shorthand CSS property for flex-direction and flex-wrap

Use the flex-flow property to set the flex-direction and flex-wrap property in a single property. You can try to run the following code to implement the flex-flow property


Live Demo

<!DOCTYPE html>
         .mycontainer {
            display: flex;
            background-color: orange;
            flex-flow: column wrap;
         .mycontainer > div {
            background-color: white;
            text-align: center;
            line-height: 40px;
            font-size: 25px;
            width: 100px;
            margin: 5px;
      <div class = "mycontainer">