.report-chart { @apply relative; &:before { content: ""; height: 93%; background: linear-gradient(to right, white, #ffffffde, transparent); @apply w-12 left-0 top-0 ml-10 absolute; @media (max-width: $sm) { height: 85%; } } &:after { content: ""; height: 93%; background: linear-gradient(to right, transparent, #ffffffde, white); @apply w-12 right-0 top-0 absolute mr-2; @media (max-width: $sm) { height: 85%; } } }