+ 6

CSS, How do I move the BG-Img to the center?

I've tried "background-position: center;" and it cuts the image into halves. Are there any other ways to do it? Code: https://code.sololearn.com/WQr0ffzQNkQr/?ref=app https://code.sololearn.com/Ww3hISqyncb8/?ref=app

14th Jan 2018, 1:53 PM
luʁi
3 Réponses
+ 2
https://code.sololearn.com/W73jW0a7jwj1/#html
14th Jan 2018, 6:01 PM
Hanz
Hanz - avatar
+ 5
@Lil Taco You can see it now
14th Jan 2018, 2:16 PM
luʁi
+ 2
There is no problem on my device. Or maybe I did not understand the problem well. Can you show the short piece of code that doesn't work as intended?
14th Jan 2018, 2:09 PM
Lil Taco
Lil Taco - avatar