1
#numpad table td#key1 {
  background-image: url("1.png");
}
#numpad table td#key1:active,
#numpad table td#key1:focus {
  background-image: url("1d.png");
}

this works like i want it to on the computer (the image changes when i push my mouse key down on it), but it has no effect on the ipad. how can i do this on ipad so that when my finger is on one of the images it will change it with css?

Josh Crozier
  • 233,099
  • 56
  • 391
  • 304
Smern
  • 18,746
  • 21
  • 72
  • 90

1 Answers1

1

I doubt you can do that using pure CSS on a touch device.

Here are some Javascript based answers.

Community
  • 1
  • 1
Pierre
  • 18,643
  • 4
  • 41
  • 62