Use correct syntax for pseudoelement

This commit is contained in:
taehoon 2019-02-11 06:56:46 -05:00
parent 971e75aa64
commit a20974faac

View file

@ -47,7 +47,7 @@
cursor: pointer; cursor: pointer;
transition: opacity 333ms cubic-bezier(.4,0,.22,1); transition: opacity 333ms cubic-bezier(.4,0,.22,1);
&:before { &::before {
position: absolute; position: absolute;
top: 35px; top: 35px;
height: 30px; height: 30px;
@ -75,7 +75,7 @@
&--prev { &--prev {
left: 0; left: 0;
&:before { &::before {
left: 6px; left: 6px;
content: '\e80e'; content: '\e80e';
} }
@ -84,7 +84,7 @@
&--next { &--next {
right: 0; right: 0;
&:before { &::before {
right: 6px; right: 6px;
content: '\e80d'; content: '\e80d';
} }