瀏覽代碼

Change rotation angle of modal close button

Danilo Gómez Gómez 5 年之前
父節點
當前提交
42eea1b58d
共有 1 個文件被更改,包括 4 次插入4 次删除
  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;