css - web_Clickable area on dynamic image -


i wondering easiest , simplest method make (3) different clickable areas on jpg image used website. but, i'm using following code make dynamically resize on window dimension change (css)

background: url('backgroundimg.jpg') no-repeat center center fixed;                  -webkit-background-size: cover;                 -moz-background-size: cover;                 -o-background-size: cover;                 background-size: cover; 

and need solution move clickable areas move/reposition accordingly, because otherwise found easy way make clickable areas using edge animate, fear works static backgrounds. thanks!

i'd make 3 divs height , width needed, have no content. i'd make each div whatever needed.

it's important add height , width in '%' , not in 'px'. makes them move according background image.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -