FEATURE intoducing block styles
This commit is contained in:
parent
f98bb9159b
commit
82eceaa3eb
21
resources/css/blocks/image-stack.css
Normal file
21
resources/css/blocks/image-stack.css
Normal file
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user