mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-12 09:54:25 +01:00
Clarify removal of border radii
This commit is contained in:
parent
8b7b234fd1
commit
93f1028e82
@ -48,11 +48,12 @@
|
|||||||
@include border-right-radius(0);
|
@include border-right-radius(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// - Target second buttons which are not part of toggle buttons
|
// The left radius should be 0 if the button is:
|
||||||
// - Target third or more child
|
// - the "third or more" child
|
||||||
// - Target buttons in a button group
|
// - the second child and the previous element isn't `.btn-check` (making it the first child visually)
|
||||||
> :not(.btn-check) + .btn,
|
// - part of a btn-group which isn't the first child
|
||||||
> .btn:nth-child(n + 3),
|
> .btn:nth-child(n + 3),
|
||||||
|
> :not(.btn-check) + .btn,
|
||||||
> .btn-group:not(:first-child) > .btn {
|
> .btn-group:not(:first-child) > .btn {
|
||||||
@include border-left-radius(0);
|
@include border-left-radius(0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user