Using CSS grid to make a grid, is, well, the whole point. But what if you want all those grid items to maintain an aspect ratio, like a 1:1 square? It’s possible, but it involves a little trickery. In this video, we’ll look at doing that because we want to put a logo, centered, in each square.
One of the final demos:
CodePen Embed Fallback… Read article “#179: A Grid of Squares”#91: The WordPress Loop
#90: Simple TextMate Tips
#89: Organizing a Photoshop Document
#88: Intro to Compass/Sass
#87: Moving Up with MAMP
#86: First Moments with MAMP
#85: Best Practices with Dynamic Content
#84: Site Walkthrough of chris-mcgarry.com
#83: Thoughts on SEO
#82: CSS Image Switcher
#81: AJAXing a WordPress Theme
#80: Regarding Wheel Invention
#79: Complete/Non-Queuing Animations with jQuery
#78: On Web Advertising
#77: Styling an Individual Article
#76: A Tour of jQuery on a Live Site
#75: How Not To Design a Checkout
#74: Editable CSS3 Image Gallery
#73: Building a Website (3 of 3): WordPress Theme
#72: Building a Website (2 of 3): HTML/CSS Conversion
Create your
podcast in
minutes
It is Free
Podcast – Kitchen Sink WordPress
The Goat Farm
Away From The Keyboard
Arrested DevOps
Build Phase