From 6ba05d95d5f798461c3a3550629b07b5ed852709 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 19 Jan 2015 16:11:39 -0800 Subject: [PATCH] properly reset button.close styles --- scss/_close.scss | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/scss/_close.scss b/scss/_close.scss index dd9b652b25..11815db27f 100644 --- a/scss/_close.scss +++ b/scss/_close.scss @@ -19,16 +19,16 @@ cursor: pointer; opacity: .5; } - - // Additional properties for button version - // iOS requires the button element instead of an anchor tag. - // If you want the anchor version, it requires `href="#"`. - // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile - &button { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; - } +} + +// Additional properties for button version +// iOS requires the button element instead of an anchor tag. +// If you want the anchor version, it requires `href="#"`. +// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; }