Rotated Text With Image

by Ken Watanabe

HTML

<div class="sub-image">
    <img class="sub-image-inner" src="https://www.lundgrenlindqvist.se/user/pages/01.home/lundgren-lindqvist_ride-and-crash_visual-identity_envelope_bright_print@5x.jpg" alt="" />
    <div class="sub-image footnote">
        <div class="footnote-inner">This is a text and stuff information</div>
    </div>
</div>

CSS

.sub-image.footnote {
    position:absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}
.footnote-inner {
    text-align: left;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: rotate(90deg);
}
.sub-image {
    height: 100%;
    width: 100%;
    position: relative;
}
img.sub-image-inner {
    width: 200px;
    margin-left: 75px;
}