Wrap custom CSS within a layer directive

This commit is contained in:
Oliver Davies 2020-09-27 18:12:11 +01:00
parent 2c1385d608
commit 67a49ecb93

View file

@ -1,7 +1,8 @@
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;
@tailwind utilities;
@layer components {
.btn { .btn {
@apply px-4 py-3 inline-block text-lg rounded-lg @apply px-4 py-3 inline-block text-lg rounded-lg
} }
@ -24,5 +25,4 @@
.embed-responsive video { .embed-responsive video {
@apply absolute w-full h-full inset-0 border-0 @apply absolute w-full h-full inset-0 border-0
} }
}
@tailwind utilities;