cara menggunakan flex-shrink di CSS

<!DOCTYPE html>
<html>
<head>
    <title>flex-shrink</title>
    <style>
        body {
            width: 400px;
            display: flex;
        }
        div {
            border: 1px solid black;
            flex-basis: 100px;
        }
        .item1 {
            flex-shrink: 5;
        }
        .item2 {
            flex-shrink: 1;
        }.item3 {
            flex-shrink: 2;
        }.item4 {
            flex-shrink: 2;
        }.item5 {
            flex-shrink: 2;
        }
    </style>
</head>
<body>
    <div class="item1">item1</div>
    <div class="item2">item2</div>
    <div class="item3">item3</div>
    <div class="item4">item4</div>
    <div class="item5">item5</div>
</body>
</html>
Lucky Louse