Skip to content

Commit

Permalink
Tri-State Checkbox Example:New design for mixed state checkbox (pull #…
Browse files Browse the repository at this point in the history
…507)

Changes the appearance of the checkbox when it is in the mixed state per feedback in issue #471.
  • Loading branch information
Michiel Bijl authored and mcking65 committed Oct 31, 2017
1 parent dd56ad2 commit c89c6b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/checkbox/css/checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ ul.checkboxes {

[role="checkbox"][aria-checked="mixed"]::after {
display: block;
width: 6px;
width: 8px;
border-bottom: 0.125em solid #fff;
transform: translate(-50%, -50%) rotateZ(45deg);
transform-origin: center center;
}

[role="checkbox"][aria-checked="mixed"]:active::after,
Expand Down

0 comments on commit c89c6b2

Please sign in to comment.