Skip to content

Instantly share code, notes, and snippets.

@0632347878
Created February 15, 2019 09:26
Show Gist options
  • Save 0632347878/6fcb91285e3cdc218c4ac5ae144bbe19 to your computer and use it in GitHub Desktop.
Save 0632347878/6fcb91285e3cdc218c4ac5ae144bbe19 to your computer and use it in GitHub Desktop.
.accordion-description__title.delivery:before,
.accordion-description__title.delivery:after {
content: "";
transform: rotate(45deg);
transition: .2s all;
position: absolute;
right: 16px;
top: 7px;
background: #229fff;
width: 2px;
height: 10px;
}
.accordion-description__title.delivery:before {
transform: rotate(-45deg);
right: 22px;
}
.accordion-description__title[aria-expanded="true"]:before {
transform: rotate(-135deg);
}
.accordion-description__title[aria-expanded="true"]:after {
transform: rotate(135deg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment