0

How can I align a image in center???

28th Jan 2017, 4:08 PM
mojtaba khaliji
mojtaba khaliji - avatar
2 Answers
+ 7
How do you want to center it? Horizontally/Vertically? Or Both at the same time?
28th Jan 2017, 5:06 PM
WittyBit
WittyBit - avatar
+ 7
You can use: background-position: center; It will draw bg image in the middle of element
28th Jan 2017, 5:08 PM
WittyBit
WittyBit - avatar