flex-flow শর্টহ্যান্ড প্রোপার্টি flex-direction এবং flex-wrap একসাথে সেট করতে দেয়। সিনট্যাক্স: flex-flow: <direction> <wrap>।
উদাহরণ
নিচের কোডটি চালিয়ে flex-flow প্রোপার্টির ব্যবহার দেখুন:
<!DOCTYPE html> <html>
<head>
<style>
.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;
}
</style>
</head>
<body>
<h1>Quiz</h1>
<div class="mycontainer">
<div>Q1</div>
<div>Q2</div>
<div>Q3</div>
<div>Q4</div>
<div>Q5</div>
<div>Q6</div>
<div>Q7</div>
<div>Q8</div>
<div>Q9</div>
</div>
</body>
</html>
ব্যাখ্যা: flex-flow: column wrap মানে flex-direction: column এবং flex-wrap: wrap। আইটেমগুলো লম্বাবত সাজবে এবং প্রস্থ কম পড়লে একাধিক কলামে ভেঙে যাবে।