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
  • 202,159
  • 50
  • 343
  • 273
Dallas
  • 17,186
  • 21
  • 64
  • 82

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
  • 17,004
  • 4
  • 38
  • 61