Laker-Compendium
Laker-Compendium copied to clipboard
Something like hover in baker-laker.
Hi!
Do you have any idea how to make the following code (or something similar) on iPad. I know the problem is with :hover, but I do not know how to do the same effect when the user taps on the screen like (s)he hover it on desktop browser.
Here is my code:
.slidebutton { position:absolute; width: 50px; height: 50px; top: 0%; background-color: white; left:974px; transition: width 2s; -webkit-transition: width 2s; /* Safari */ clear:both; } .slidebutton:hover, .slidebutton.active { width: 150px; height: 50px; top: 0%; background-color: white; left:874px; clear:both; display: inline; }