I have a class called show padding, which colors the content box and the padding box differently - actually found it here: https://stackoverflow.com/a/18424078/981556)
.show-border {
background-image: linear-gradient(to bottom, #dbeafe 0%, #dbeafe 100%),
linear-gradient(to bottom, #a7f3d0 0%, #a7f3d0 100%);
background-clip: content-box, padding-box;
}
Our project is using tailwind, and I'd like to use the @apply directive for those gradient stops. Separating the gradients with a comma throws a syntax error:
.show-border {
@apply bg-gradient-to-b from-green-200, from-blue-200;
background-clip: content-box, padding-box;
}
Without the comma the blue squashes the green
.show-border {
@apply bg-gradient-to-b from-green-200 from-blue-200;
background-clip: content-box, padding-box;
}
Is there a way to do this with tailwind's utility classes?