Можете ли вы попробовать следующий код, надеюсь, он будет работать для вас. здесь выравнивание контента установлено по центру по вертикали и горизонтали, а min-height - только для проверки правильности работы.
Демонстрационная ссылка: https://jsfiddle.net/yudizsolutions/gmrj0nfk/1/
.grid {
display: grid;
grid-gap: 8px;
@media (min-width: 1440px) {
grid-gap: 12px;
}
@media (min-width: 1920px) {
grid-gap: 16px;
}
grid-template-columns: repeat(12, 1fr);
margin-left: 0;
margin-right: 0
}
.grid-col {
padding: 10px;
width: auto;
background: #888;
color: #fff;
display: grid;
justify-items: center;
min-height: 150px;
align-items: center;
}
.grid-row-1 {
grid-row: span 1
}
.grid-row-2 {
grid-row: span 2
}
.grid-row-3 {
grid-row: span 3
}
.grid-col-1 {
grid-column: span 1
}
.grid-col-2 {
grid-column: span 2
}
.grid-col-3 {
grid-column: span 3
}
.grid-col-4 {
grid-column: span 4
}
.grid-col-5 {
grid-column: span 5
}
.grid-col-6 {
grid-column: span 6
}
.grid-col-7 {
grid-column: span 7
}
.grid-col-8 {
grid-column: span 8
}
.grid-col-9 {
grid-column: span 9
}
.grid-col-10 {
grid-column: span 10
}
.grid-col-11 {
grid-column: span 11
}
.grid-col-12 {
grid-column: span 12
}
@media only screen and (min-width:480px) {
.grid-col-xs-1 {
grid-column: span 1
}
.grid-col-xs-2 {
grid-column: span 2
}
.grid-col-xs-3 {
grid-column: span 3
}
.grid-col-xs-4 {
grid-column: span 4
}
.grid-col-xs-5 {
grid-column: span 5
}
.grid-col-xs-6 {
grid-column: span 6
}
.grid-col-xs-7 {
grid-column: span 7
}
.grid-col-xs-8 {
grid-column: span 8
}
.grid-col-xs-9 {
grid-column: span 9
}
.grid-col-xs-10 {
grid-column: span 10
}
.grid-col-xs-11 {
grid-column: span 11
}
.grid-col-xs-12 {
grid-column: span 12
}
.grid-row-xs-1 {
grid-row: span 1
}
.grid-row-xs-2 {
grid-row: span 2
}
.grid-row-xs-3 {
grid-row: span 3
}
}
@media only screen and (min-width:768px) {
.grid-col-sm-1 {
grid-column: span 1
}
.grid-col-sm-2 {
grid-column: span 2
}
.grid-col-sm-3 {
grid-column: span 3
}
.grid-col-sm-4 {
grid-column: span 4
}
.grid-col-sm-5 {
grid-column: span 5
}
.grid-col-sm-6 {
grid-column: span 6
}
.grid-col-sm-7 {
grid-column: span 7
}
.grid-col-sm-8 {
grid-column: span 8
}
.grid-col-sm-9 {
grid-column: span 9
}
.grid-col-sm-10 {
grid-column: span 10
}
.grid-col-sm-11 {
grid-column: span 11
}
.grid-col-sm-12 {
grid-column: span 12
}
.grid-row-sm-1 {
grid-row: span 1
}
.grid-row-sm-2 {
grid-row: span 2
}
.grid-row-sm-3 {
grid-row: span 3
}
}
@media only screen and (min-width:1024px) {
.grid-col-md-1 {
grid-column: span 1
}
.grid-col-md-2 {
grid-column: span 2
}
.grid-col-md-3 {
grid-column: span 3
}
.grid-col-md-4 {
grid-column: span 4
}
.grid-col-md-5 {
grid-column: span 5
}
.grid-col-md-6 {
grid-column: span 6
}
.grid-col-md-7 {
grid-column: span 7
}
.grid-col-md-8 {
grid-column: span 8
}
.grid-col-md-9 {
grid-column: span 9
}
.grid-col-md-10 {
grid-column: span 10
}
.grid-col-md-11 {
grid-column: span 11
}
.grid-col-md-12 {
grid-column: span 12
}
.grid-row-md-1 {
grid-row: span 1
}
.grid-row-md-2 {
grid-row: span 2
}
.grid-row-md-3 {
grid-row: span 3
}
}
@media only screen and (min-width:1280px) {
.grid-col-lg-1 {
grid-column: span 1
}
.grid-col-lg-2 {
grid-column: span 2
}
.grid-col-lg-3 {
grid-column: span 3
}
.grid-col-lg-4 {
grid-column: span 4
}
.grid-col-lg-5 {
grid-column: span 5
}
.grid-col-lg-6 {
grid-column: span 6
}
.grid-col-lg-7 {
grid-column: span 7
}
.grid-col-lg-8 {
grid-column: span 8
}
.grid-col-lg-9 {
grid-column: span 9
}
.grid-col-lg-10 {
grid-column: span 10
}
.grid-col-lg-11 {
grid-column: span 11
}
.grid-col-lg-12 {
grid-column: span 12
}
.grid-row-lg-1 {
grid-row: span 1
}
.grid-row-lg-2 {
grid-row: span 2
}
.grid-row-lg-3 {
grid-row: span 3
}
}
@media only screen and (min-width:1440px) {
.grid-col-xl-1 {
grid-column: span 1
}
.grid-col-xl-2 {
grid-column: span 2
}
.grid-col-xl-3 {
grid-column: span 3
}
.grid-col-xl-4 {
grid-column: span 4
}
.grid-col-xl-5 {
grid-column: span 5
}
.grid-col-xl-6 {
grid-column: span 6
}
.grid-col-xl-7 {
grid-column: span 7
}
.grid-col-xl-8 {
grid-column: span 8
}
.grid-col-xl-9 {
grid-column: span 9
}
.grid-col-xl-10 {
grid-column: span 10
}
.grid-col-xl-11 {
grid-column: span 11
}
.grid-col-xl-12 {
grid-column: span 12
}
.grid-row-xl-1 {
grid-row: span 1
}
.grid-row-xl-2 {
grid-row: span 2
}
.grid-row-xl-3 {
grid-row: span 3
}
}
.grid-col-end {
grid-column-end: -1
}
<section class="grid">
<div class="grid-col grid-col-12 grid-col-sm-4 grid-col-md-3">
<a href="#" class="c-book-tile">
<div class="c-book-tile__body">
Lorem ipsum
</div>
</a>
</div>
<div class="grid-col grid-col-12 grid-col-sm-4 grid-col-md-3">
<a href="#" class="c-book-tile">
<div class="c-book-tile__body">
Lorem ipsum
</div>
</a>
</div>
<div class="grid-col grid-col-12 grid-col-sm-4 grid-col-md-3">
<a href="#" class="c-book-tile">
<div class="c-book-tile__body">
Lorem ipsum
</div>
</a>
</div>
</section>