औचित्य-सामग्री का उपयोग करें मूल्य के साथ संपत्ति फ्लेक्स-एंड फ्लेक्स-आइटम को अंत में संरेखित करने के लिए।
उदाहरण
आप फ्लेक्स-एंड वैल्यू को लागू करने के लिए निम्न कोड को चलाने का प्रयास कर सकते हैं -
<!DOCTYPE html>
<html>
<head>
<style>
.mycontainer {
display: flex;
background-color: red;
justify-content: flex-end;
}
.mycontainer > div {
background-color: #E6B0AA;
text-align: center;
line-height: 60px;
font-size: 30px;
width: 100px;
margin: 5px;
}
</style>
</head>
<body>
<h1>Score</h1>
<div class = "mycontainer">
<div>20</div>
<div>35</div>
<div>88</div>
<div>62</div>
</div>
</body>
</html>