Skip to content

Instantly share code, notes, and snippets.

@theEMA-dev
Created October 17, 2020 18:34
Show Gist options
  • Save theEMA-dev/a52eea9a2229adb8b97608a923c04ebe to your computer and use it in GitHub Desktop.
Save theEMA-dev/a52eea9a2229adb8b97608a923c04ebe to your computer and use it in GitHub Desktop.
zooming instance css
.row {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
margin-block-end: 2%;
}
.col {
flex: 1 0 14%;
margin: 1%;
height: 21.961932650073205vw;
display: flex;
align-items: baseline;
justify-content: center;
flex-direction: column;
}
.col img {
height: 21.961932650073205vw;
}
#shown{
width: 100%;
height: 100%;
-webkit-box-shadow: 0px 7px 13px 1px rgba(0,0,0,0.62);
-moz-box-shadow: 0px 7px 13px 1px rgba(0,0,0,0.62);
box-shadow: 0px 7px 13px 1px rgba(0,0,0,0.62);
}
figure {
display: inline-block;
margin: 0 0 0 0;
width: 100%;
text-align: center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment