Что у меня есть на данный момент:
Код: Выделить всё
body {
height: 100vh;
}
.grid-container {
display: grid;
grid-template-columns: 1fr 1fr;
height: 100%;
outline: 2px solid blue;
}
.flex-parent {
display: flex;
grid-column: -1 / 1;
grid-row: -1 / 1;
}
.left {
flex-basis: 100%;
background: red;
}
.right {
flex-basis: 100%;
background: yellow;
box-sixing: border-box;
}
.right__inner {
display: flex;
height: calc(100% - 100px);
align-items: flex-end;
}
.text-container {
grid-column: -1 / 1;
grid-row: -1 / 1;
align-self: end;
opacity: 0.8;
background: white;
}Код: Выделить всё
Hello this is some text
Heading
Подробнее здесь: https://stackoverflow.com/questions/798 ... -container
Мобильная версия