;
      position: relative;
    }
    .child {
      border: 2px dotted purple;
      background: teal;
      width: 65px;
      height: 65px;
      align-self: start;
      position: absolute;
      background: yellow;
      margin: 5px;
    }
    .rowDir {
      flex-direction: row-reverse;
    }
    .colDir {
      flex-direction: column-reverse;
    }
    .vertRL {
      writing-mode: vertical-rl;
    }
  </style>
</head>
<body>
  <div class="flex rowDir"><div class="child"></div></div>
  <div class="fl