Fix before and after selectors

This commit is contained in:
Jeremy Thomas
2018-04-08 19:08:39 +01:00
parent 292fd8ac4f
commit 8baa6cc6dc
8 changed files with 60 additions and 60 deletions

View File

@@ -1,7 +1,7 @@
@import "initial-variables"
=clearfix
&:after
&::after
clear: both
content: " "
display: table
@@ -171,8 +171,8 @@
position: relative
vertical-align: top
width: 20px
&:before,
&:after
&::before,
&::after
background-color: $white
content: ""
display: block
@@ -181,10 +181,10 @@
top: 50%
transform: translateX(-50%) translateY(-50%) rotate(45deg)
transform-origin: center center
&:before
&::before
height: 2px
width: 50%
&:after
&::after
height: 50%
width: 2px
&:hover,