HTML table markup to achieve squares, into nine pictures. Use CSS filter property controls the transparency of the image. Javascript implementation lottery and winning.
Can be used as school teachers, the students were randomly selected to answer questions, so that students feel the fairness of random, fun and easy!
Click effect before the draw button:
Click Start draw, photograph wheeled opaque display, click on the announcement effect after winning
Program code is as follows (HTML and CSS section):
Javascript part: