<!DOCTYPE html>
<html>
<head>
<style>
div.flex {
  display: flex;
  width: 100px;
  overflow: hidden;
}
</style>
</head>
<body>
  <div class="flex">
    AAAAAAAAAAAAAAAAAAAA
  </div>
  <div class="flex">
    <b>bbbbbbbbbbbbbbbbbbbb</b>
  </div>
  <div class="flex">
    <div>cccccccccccccccccccc</div>
  </div>
  <div class="flex">
    DDDDDDDDDDDDDDDDDDDD<b>ee</b>FFFFFFFFFFFFFFFFFFFF
  </div>
</body>
</html>
