浏览代码

Add :hover styling

panr 5 年之前
父节点
当前提交
902bce6105
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      docs/assets/snippet-styles.css

+ 5 - 0
docs/assets/snippet-styles.css

@@ -156,12 +156,17 @@ It breaks CKEditor 5 (see how <p><code>[]</code></p> looks). */
 	border: none;
 	box-shadow: none;
 	line-height: 1;
+	transition: background 150ms ease;
 	-webkit-appearance: none;
 	-moz-appearance: none;
 	appearance: none;
 	cursor: pointer;
 }
 
+.main__notification-close:hover {
+	background: #eee;
+}
+
 .main__notification-close:active:focus {
 	outline: none;
 }