Przeglądaj źródła

Change rotation angle of modal close button

Danilo Gómez Gómez 5 lat temu
rodzic
commit
42eea1b58d
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      static/css/image-modal.css

+ 4 - 4
static/css/image-modal.css

@@ -42,10 +42,10 @@
 					transition: .3s ease;
 }
 #close-modal:hover {
-	-webkit-transform: translate(50%, -50%) rotate(90deg);
-			-ms-transform: translate(50%, -50%) rotate(90deg);
-			 -o-transform: translate(50%, -50%) rotate(90deg);
-					transform: translate(50%, -50%) rotate(90deg);
+	-webkit-transform: translate(50%, -50%) rotate(45deg);
+			-ms-transform: translate(50%, -50%) rotate(45deg);
+			 -o-transform: translate(50%, -50%) rotate(45deg);
+					transform: translate(50%, -50%) rotate(45deg);
 	-webkit-transition: .3s ease;
 		 -moz-transition: .3s ease;
 			 -o-transition: .3s ease;