   }
    .container-vertical > * {
      writing-mode: vertical-lr;
      border: 1px solid blue;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="block-min-content">min<br>in the box</div>
    <div class="block-max-content">max<br>in the box</div>
  </div>

  <div class="container-vertical">
    <div class="block-min-content">min<br>in the box</div>
    <div class="block-max-content">max<br>in the box</div>
  </div>
</body>
</html>
