Skip to content

Instantly share code, notes, and snippets.

@fernandor777
Created May 20, 2014 21:23
Show Gist options
  • Save fernandor777/f155c799c8e3c62d4f39 to your computer and use it in GitHub Desktop.
Save fernandor777/f155c799c8e3c62d4f39 to your computer and use it in GitHub Desktop.
Centrar div dentro de un div padre
.Center-Container {
position: relative;
}
.Absolute-Center {
width: 50%;
height: 50%;
overflow: auto;
margin: auto;
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment