diff --git a/resources/css/blocks/image-stack.css b/resources/css/blocks/image-stack.css new file mode 100644 index 0000000..90dc1f0 --- /dev/null +++ b/resources/css/blocks/image-stack.css @@ -0,0 +1,21 @@ +.wp-block-carhop-blocks-image-stack { + .image-stack-item { + @apply border-2 border-primary p-4 w-fit bg-white; + img { + @apply block grayscale; + } + + &.rotate-right { + @apply rotate-2; + } + &.rotate-left { + @apply -rotate-2; + } + } + + &:hover { + img { + @apply grayscale-0; + } + } +}