aboutsummaryrefslogtreecommitdiff
path: root/less/close.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/close.less')
-rw-r--r--less/close.less13
1 files changed, 12 insertions, 1 deletions
diff --git a/less/close.less b/less/close.less
index a0e5edba1..e264fca2d 100644
--- a/less/close.less
+++ b/less/close.less
@@ -12,7 +12,18 @@
&:hover {
color: @black;
text-decoration: none;
- .opacity(40);
cursor: pointer;
+ .opacity(40);
}
}
+
+// Additional properties for button version
+// iOS requires the button element instead of an anchor tag.
+// If you want the anchor version, it requires `href="#"`.
+button.close {
+ padding: 0;
+ cursor: pointer;
+ background-color: transparent;
+ border: 0;
+ -webkit-appearance: none;
+} \ No newline at end of file