diff options
| author | Mark Otto <[email protected]> | 2013-07-01 17:32:07 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-07-01 17:32:07 -0700 |
| commit | a27ecfccf301f8996d7ddf6bd6f7f46f358a5a31 (patch) | |
| tree | 7e5a7ac7bddc034a800f79646d022b775aa79f19 /less/close.less | |
| parent | 2d2828d36ccaca2f6db42352d59ab4906a7439f6 (diff) | |
| download | bootstrap-a27ecfccf301f8996d7ddf6bd6f7f46f358a5a31.tar.xz bootstrap-a27ecfccf301f8996d7ddf6bd6f7f46f358a5a31.zip | |
Make more components mixin-friendly
Diffstat (limited to 'less/close.less')
| -rw-r--r-- | less/close.less | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/less/close.less b/less/close.less index e879da4d6..5fe23b3dc 100644 --- a/less/close.less +++ b/less/close.less @@ -19,15 +19,15 @@ 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="#"`. -button.close { - 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="#"`. + button& { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; + } } |
