STYLE Add new article tag styles with hover effects and border enhancements

This commit is contained in:
Antoine 2025-05-12 16:55:36 +02:00
parent 2c241c2df5
commit 2c730b5db1

View File

@ -0,0 +1,13 @@
.article-tag {
@apply w-fit bg-transparent px-3 py-2 relative;
&:after {
content: '';
@apply w-full h-full absolute top-0 left-1/2 border border-primary;
translate: -50% 0;
transform: perspective(800px) rotateY(10deg);
}
&:hover {
@apply bg-primary text-white;
}
}