@media (min-width: 768px) /* ширина по вашему хотению */ {
.block {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.yellow {
grid-column: span 3;
}
}
.text {
font-size: 12px;
@include media-breakpoint-up(md) {
font-size: 20px;
}
}
.text {
font-size: 12px;
}
@media (min-width: 767px) {
font-size: 20px;
}
.text {
font-size: clamp(12px, 3vw, 30px);
}
<div class="my-grid">
<div class="my-cell"></div>
<div class="my-cell"></div>
<div class="my-cell"></div>
<div class="my-cell"></div>
<div class="my-cell"></div>
</div>
.my-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
height: 100vh;
}
.my-cell:first-child {
grid-row: span 2;
}
.react-select {
// какие-то свойства
&__option {
//...
}
}
<div class="ratio ratio-16x9">
<iframe src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" title="YouTube video" allowfullscreen></iframe>
</div>