Last active
August 15, 2018 15:00
-
-
Save claudia-romano/ec531b85db510b5522985d1243897093 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin lhCrop($line-height, $capital-letter: 1) { | |
&::before { | |
content: ''; | |
display: block; | |
height: 0; | |
width: 0; | |
margin-top: calc((#{$capital-letter} - #{$line-height}) * 0.5em); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment