Converting scss to sass

These two mixins are equivalent? but while the one in scss applies, the other doesn't
@mixin deferred-bg() {
&::after {
content: "";
position: absolute;
left: 0.25rem;
top: 0.25rem;
z-index: -1;

width: 100%;
height: 100%;
border-radius: 0.5rem;
background-color: var(--elementary);
}
}
@mixin deferred-bg() {
&::after {
content: "";
position: absolute;
left: 0.25rem;
top: 0.25rem;
z-index: -1;

width: 100%;
height: 100%;
border-radius: 0.5rem;
background-color: var(--elementary);
}
}
@mixin deferred-bg()
&::after
content: ""
position: absolute
left: 0.25rem
top: 0.25rem
z-index: -1

width: 100%
height: 100%
border-radius: 0.5rem
border-radius: var(--elementary)
@mixin deferred-bg()
&::after
content: ""
position: absolute
left: 0.25rem
top: 0.25rem
z-index: -1

width: 100%
height: 100%
border-radius: 0.5rem
border-radius: var(--elementary)
7 Replies
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Lofty!
Lofty!OP•3y ago
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Lofty!
Lofty!OP•3y ago
true, but I was confused as to why it didn't work. Will try soon
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Lofty!
Lofty!OP•3y ago
weird. I just switched my computer off, will come back soon, if you don't mind 😅
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server