Created
September 16, 2021 09:26
-
-
Save calvindavis/3633ef9bc95e1f0da4daaef47587e36f to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
.form-field { | |
$this: &; | |
@apply relative block; | |
&__label { | |
@apply block cursor-pointer; | |
.emailaddress &, | |
.longanswer &, | |
.shortanswer & { | |
@apply absolute pt-2 origin-top-left transition-transform; | |
} | |
.emailaddress #{$this}.is-active &, | |
.longanswer #{$this}.is-active &, | |
.shortanswer #{$this}.is-active & { | |
@apply scale-75 -translate-y-2/3 pointer-events-none; | |
} | |
} | |
} |
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
.form-field { | |
@apply relative block; | |
} | |
.form-field__label { | |
@apply block cursor-pointer; | |
} | |
.emailaddress .form-field__label, .longanswer .form-field__label, .shortanswer .form-field__label { | |
@apply absolute pt-2 origin-top-left transition-transform; | |
} | |
.emailaddress .form-field.is-active .form-field__label, .longanswer .form-field.is-active .form-field__label, .shortanswer .form-field.is-active .form-field__label { | |
@apply scale-75 -translate-y-2/3 pointer-events-none; | |
} |
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
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment