To achieve this effect, we utilize the text-combine-upright CSS property.
text-combine-upright property only functions in vertical writing modes.
To also scale the combined text to fit the browser window size:
font-size:100vh;
font-size: 100vw;
Since we are using a vertical writing mode, the axes are flipped. Therefore:
line-height: 100vw;.
text-align: center;.
Examples 2 & 3 follow the same logic, but all length units are set to be the same as it's parent element's width. For example, if the container is 50% of window width, then all length units should be 50vh or vw.
View source to see the full code.