Skip to content

Instantly share code, notes, and snippets.

@dedosmedia
Last active February 18, 2016 04:34
Show Gist options
  • Save dedosmedia/3027053e6ba8dfa91f78 to your computer and use it in GitHub Desktop.
Save dedosmedia/3027053e6ba8dfa91f78 to your computer and use it in GitHub Desktop.
Centra el texto de un label, segun el tamaño del div que lo contiene
#interactive label#text {
width: 210px;
display: table-cell;
text-align: center;
vertical-align: middle;
cursor: pointer;
}
.contenedor{
display: table;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment