Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<style>
div {
width: 20%;
margin: 1%;
float: left;
border: 1px solid;
}
div:before { /* 💥 */
content:'';
padding-top:100%;
float:left;
}
</style>
<body>
<div></div> <div></div> <div></div> <div></div> <div></div>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment