finished image centering, added tags to sidebar

This commit is contained in:
Chris Punches
2018-01-30 18:27:10 -05:00
parent d76c75476a
commit ec4148a3b8
2 changed files with 29 additions and 6 deletions

View File

@@ -1433,11 +1433,9 @@ pre code{
}
.aligncenter {
position: center;
display: flex;
flex-wrap: wrap; /* optional. only if you want the items to wrap */
justify-content: center; /* for horizontal alignment */
align-items: center; /* for vertical alignment */
display: block; /*for the img inside your div */
margin-left: auto;
margin-right: auto;
}