aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-25 20:41:59 -0700
committerMark Otto <[email protected]>2012-03-25 20:41:59 -0700
commit473e5714f756d9be81e9321d451bb05431dd28ee (patch)
tree3e18323c0a6c956da22c725700e5074eb4479a4d /less
parentea437351ed115b240e9b150da7ee93582f31dd17 (diff)
downloadbootstrap-473e5714f756d9be81e9321d451bb05431dd28ee.tar.xz
bootstrap-473e5714f756d9be81e9321d451bb05431dd28ee.zip
change all anchor alert closes to buttons
Diffstat (limited to 'less')
-rw-r--r--less/close.less11
1 files changed, 11 insertions, 0 deletions
diff --git a/less/close.less b/less/close.less
index a0e5edba1..b3dd894f2 100644
--- a/less/close.less
+++ b/less/close.less
@@ -16,3 +16,14 @@
cursor: pointer;
}
}
+
+// 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