Created
March 6, 2024 15:10
-
-
Save tdmrhn/eab73878e4106fb0837d74af1d7e3feb to your computer and use it in GitHub Desktop.
Blocksy 2: Easy Bento Grid with Advanced Posts Block
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ct-post-grid article:first-child, | |
.ct-post-grid article:nth-child(7) { | |
grid-column: span 2; | |
} | |
.ct-post-grid article:first-child, | |
.ct-post-grid article:nth-child(5) { | |
grid-row: span 2; | |
} | |
.ct-post-grid article .wp-block-cover { | |
min-height: 250px; | |
height: 100%; | |
} | |
.ct-post-grid .wp-block-cover img { | |
transition: all 0.5s ease; | |
} | |
.ct-post-grid .wp-block-cover:hover img { | |
transform: scale(1.1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment