Jump to content


Responsive image positioned over responsive image


  • Please log in to reply
1 reply to this topic

#1 biggieuk


    Advanced Member

  • Members
  • PipPipPip
  • 159 posts

Posted 03 May 2013 - 03:51 PM

I have setup a jsfiddle of what i'm trying to do:





The image of the cat is my background image which resizes as the browser resizes.


The ball image is absolutely positioned over the cat. How can I get the ball image to resize and stay in the same position as it is my default?


Thanks for help with this

#2 theverychap


    Advanced Member

  • Staff Alumni
  • 78 posts
  • LocationDevon, England

Posted 21 May 2013 - 03:19 PM

If i understand correctly, you want the ball to resize too?




I added a percentage width to the ball, it will scale with any resizing.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users