Skip to content

Commit

Permalink
Adds aria selected for the existing arrow animation
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentaudebert committed May 3, 2018
1 parent 366f625 commit 0e97bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/css/fancy-example.css
Expand Up @@ -82,7 +82,7 @@
transform: rotate(45deg);
}

[aria-expanded='true'] .accordion__arrow::before {
[aria-expanded='true'] .accordion__arrow::before, [aria-selected='true'] .accordion__arrow::before {
transform: rotate(-45deg);
}

Expand All @@ -91,7 +91,7 @@
transform: rotate(-45deg);
}

[aria-expanded='true'] .accordion__arrow::after {
[aria-expanded='true'] .accordion__arrow::after, [aria-selected='true'] .accordion__arrow::after {
transform: rotate(45deg);
}

Expand Down

0 comments on commit 0e97bb3

Please sign in to comment.