Created
July 19, 2017 14:57
-
-
Save pauloharaujos/291fbb1f0118a86b842a4e0ff060be8a to your computer and use it in GitHub Desktop.
CSS - Centralizando div/img dentro de outra div
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div { | |
display:flex; } | |
div img { | |
align-self: center; | |
margin:auto; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment