1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

Switch to btn-check

This commit is contained in:
Martijn Cuppens
2020-06-04 15:59:24 +02:00
committed by Mark Otto
parent 1a0a0858ef
commit 8b7b234fd1
7 changed files with 29 additions and 29 deletions

View File

@@ -14,8 +14,8 @@
// Bring the hover, focused, and "active" buttons to the front to overlay
// the borders properly
> .btn-toggle:checked + .btn,
> .btn-toggle:focus + .btn,
> .btn-check:checked + .btn,
> .btn-check:focus + .btn,
> .btn:hover,
> .btn:focus,
> .btn:active,
@@ -51,7 +51,7 @@
// - Target second buttons which are not part of toggle buttons
// - Target third or more child
// - Target buttons in a button group
> :not(.btn-toggle) + .btn,
> :not(.btn-check) + .btn,
> .btn:nth-child(n + 3),
> .btn-group:not(:first-child) > .btn {
@include border-left-radius(0);