0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-11 08:54:23 +01: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
// iOS requires the button element instead of an anchor tag. // Additional properties for button version
// If you want the anchor version, it requires `href="#"`. // iOS requires the button element instead of an anchor tag.
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile // If you want the anchor version, it requires `href="#"`.
&button { // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
padding: 0; button.close {
cursor: pointer; padding: 0;
background: transparent; cursor: pointer;
border: 0; background: transparent;
-webkit-appearance: none; border: 0;
} -webkit-appearance: none;
} }