We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Placing a single <button> into a button-group causes it to render without any border-radius.
<button>
button-group
Here's my current fix:
.btn-group > .btn:first-child:last-child { border-radius: 4px; }
The text was updated successfully, but these errors were encountered:
Or change:
> .btn:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; } > .btn:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; } > .btn:not(:first-child):not(:last-child) { border-radius: 0; }
to:
> .btn:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; } > .btn:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
Also has the added benefit of being 2 selectors, not 3.
Pen with updated code: http://codepen.io/KevinMartin/pen/KdZPLJ
Sorry, something went wrong.
Ill make a PR now
Ah good call.
Successfully merging a pull request may close this issue.
Placing a single
<button>
into abutton-group
causes it to render without any border-radius.Here's my current fix:
The text was updated successfully, but these errors were encountered: