Greetings Ladies and Gents,
I am rather new to the CSS side of things, and i have come accross a bit of a issue thats driving me a bit batty.
I have a Site im busy working on that has a JWplayer element within a DIV.
Now I have a hotspot that appears at various times and at various positions but all it is basically is a overlay.
the basics of the coding im using for the overlay (CSS Coding) is as follows.
[Code]
#hotspots {
width: 100%;
height: 100%;
position: absolute;
z-index: 99;
pointer-events: none;
margin: 0 auto;
left: 24%;
}
#hotspots span {
position: absolute;
width: 75px;
height: 50px;
background-image: url(../assets/Images/test.png);
background-repeat: no-repeat;
background-position: center center;
opacity: 0.5;
cursor: pointer;
pointer-events: auto;
transition: 0.2s;
transform: scale(0,0);
-webkit-transition: 0.2s;
-webkit-transform: scale(0,0);
}
now in every browser on Unix and Windows systems no issue everything is working 100% however soon as iOS is introduced things fall apart, I did a little digging and see that using the position absolute is whats causing issues on Ipads etc…
But I test things, using position fixed, or relative breaks my hotspots everywhere else.
So wanted to know if anyone has a suggestion or if there is a way to say if iOS or Ipad or whatever that you can ignore the position or use position: relative instead for the entry for hotspots?
Thanks in advance for the help.