.mini-left {flex-direction:column;}
<p class="text">text</p>
body {
background:#000;
}
.text {
background: linear-gradient(#30CFD0 0%,#30CFD0 50%,#ffff00 50%, #ffff00 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.bg {
background-size: cover;
height: 100%;
overflow: hidden;
transition: ease all 0.80s;
}
.bg:hover .show-block {
margin-bottom: 0;
}
.bg:hover:first-child {
padding-right:100px;
margin-right:-85px;
transition: ease all 0.80s;
z-index:100;
}
.bg:hover {
padding:0 100px;
margin:0 -85px;
transition: ease all 0.80s;
z-index:100;
}
.bg:hover:last-child {
padding-left:100px;
margin-left:-85px;
transition: ease all 0.80s;
z-index:100;
}
@media (max-width: 575.98px)
.grid {
width: 50vw;
}
.grid-item {
width:100%;
}
<table style="width: 100%; border-collapse: collapse; padding: 10px 20px; font-family: -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif; color: #333333; text-align: center;">
<thead>
<tr>
<th colspan="7" style="padding: 15px 0; font-size: 19px; font-weight: bold;">
Currency rate changes
</th>
</tr>
</thead>
<tbody>
<tr class="tr">
<td class="td">Currency pair</td>
<td class="td">Exchanges</td>
<td class="td">Direction</td>
<td class="td">Accounting price</td>
<td class="td">Current price</td>
<td class="td">±</td>
<td class="td">%</td>
</tr>
</tbody>
</table>
th {
border:none;
}
.tr {
background-color: #e2e2e2;
height: 50px;
padding: 10px;
}
.td {
border: 1px dotted #777;
border-right: none;
}
.td:first-child {
height: 50px;
}
.td:last-child {
border-right: 1px dotted #777;
}
th {
border:none;
background-image: linear-gradient(to right, black 33%, rgba(255,255,255,0) 0%);
background-position: bottom;
background-size: 3px 1px;
background-repeat: repeat-x;
}
.tr {
background-color: #e2e2e2;
height: 50px;
padding: 10px;
}
.td {
background-image: linear-gradient(black 33%, rgba(255,255,255,0) 0%);
background-position: right;
background-size: 1px 3px;
background-repeat: repeat-y;
border-bottom:1px dotted #777;
}
.td:first-child {
height: 50px;
border-left: 1px dotted #777;
}
.td:last-child {
border-right: 1px dotted #777;
}
@media only screen and (max-width: 768px)
.main .header {
width: 100%;
left: 0;
margin-left: 0;
}
.container {
display: flex;
flex-wrap:wrap;
justify-content:space-around;
}
.block {
min-width: 200px;
max-width: 400px;
height: 40px;
background: #456;
margin:10px;
flex-grow: 1;
}