Jump to content

Unable to center background images used in CSS transitions.


sweetbeanspromo

Recommended Posts

I am having trouble centering some background images I am using on a new site.

 

Currently it is displaying on the left hand side of the parent element and if I put display: inline-block it displays on the right. I remember using display: inline-block to get it to do this the last time I used transitions but i'm obviously not doing it right this time.

 

Any help appreciated its the second to last thing left to do before the sites ready!

 

http://newsite.currypie.co.uk/index.html

 

Thanks in advance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...