Skip to content

Instantly share code, notes, and snippets.

@cowboymathu
Created April 21, 2015 11:22
Show Gist options
  • Save cowboymathu/129b45d849cd27bdb386 to your computer and use it in GitHub Desktop.
Save cowboymathu/129b45d849cd27bdb386 to your computer and use it in GitHub Desktop.
magnific-popup center css
<style>
.album-billede-box-pop {
width: 100%;
text-align: center;
}
.album-billede-single-pop {
display: inline-block;
}
</style>
<div class="album-billede-box-pop">
<div class="album-billede-single-pop">
<a href="javascript:void(0)">
<img src="xxxx" style="max-width: 768px">
</a>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment