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
Post a Comment