-
-
Save mathiash98/8c924fd950f6d1766c26e053eb75004d to your computer and use it in GitHub Desktop.
Squares inside variable bootstrap colum
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
.square { | |
width: 100%; | |
} | |
.square:after { | |
content: ""; | |
display: block; | |
padding-bottom: 100%; | |
} | |
/*=========== apply to parent element source: https://spin.atomicobject.com/2015/07/14/css-responsive-square/ ============*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment