2
0
Эх сурвалжийг харах

Example: Fixed inputs and selects.

Mr.doob 6 жил өмнө
parent
commit
179564fb8b
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  1. 4 1
      examples/main.css

+ 4 - 1
examples/main.css

@@ -10,7 +10,6 @@ body {
 a {
 	color: #ff0;
 	text-decoration: none;
-	pointer-events: auto;
 }
 
 a:hover {
@@ -41,6 +40,10 @@ canvas {
 	z-index: 1; /* TODO Solve this in HTML */
 }
 
+a, input, select {
+	pointer-events: auto;
+}
+
 .dg.ac {
 	-moz-user-select: none;
 	-webkit-user-select: none;