demo-container { display: flex; border: 2px solid rgb(189, 189, 189); padding: 25px 10px 10px; border-radius: 4px; align-items: center; justify-content: center; position: relative; overflow: hidden; height: 160px; width: 205px; }
demo-object { display: block; position-try-fallbacks: --try-bottom, --try-left, --try-right; position: absolute; position-anchor: --demo-anchor; position-area: top; width: 120px; padding: 6px; background-color: royalblue; color: white; text-align: center; }
block-block { display: block; }
.element {position-try-order: most-height;}
.anchor { anchor-name: --demo-anchor; width: 80px; height: 36px; background-color: rgb(204, 204, 204); display: flex; align-items: center; justify-content: center; }

