Created
January 6, 2018 17:06
-
-
Save walterebert/549f29864309e7871188e75362eb27d6 to your computer and use it in GitHub Desktop.
WordPress snippet: Image gallery with CSS grid
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
.gallery {display: grid;} | |
.gallery-columns-2 {grid-template-columns: 1fr 1fr;} | |
.gallery-columns-3 {grid-template-columns: 1fr 1fr 1fr;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment