1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 23:04:32 +02:00

properly reset button.close styles

This commit is contained in:
Mark Otto
2015-01-19 16:11:39 -08:00
parent 29c7a0f002
commit 6ba05d95d5

View File

@@ -19,16 +19,16 @@
cursor: pointer; cursor: pointer;
opacity: .5; opacity: .5;
} }
}
// Additional properties for button version // Additional properties for button version
// iOS requires the button element instead of an anchor tag. // iOS requires the button element instead of an anchor tag.
// If you want the anchor version, it requires `href="#"`. // If you want the anchor version, it requires `href="#"`.
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
&button { button.close {
padding: 0; padding: 0;
cursor: pointer; cursor: pointer;
background: transparent; background: transparent;
border: 0; border: 0;
-webkit-appearance: none; -webkit-appearance: none;
}
} }