Skip to content

Instantly share code, notes, and snippets.

@jhonsore
Created August 8, 2021 01:04
Show Gist options
  • Save jhonsore/cb89b7fa785906b574be73ce0a3582ea to your computer and use it in GitHub Desktop.
Save jhonsore/cb89b7fa785906b574be73ce0a3582ea to your computer and use it in GitHub Desktop.
Sass tips
@mixin mobile {
@media (max-width: 425px){
@content;
}
}
@use 'mixins';
p {
font-size: 35px;
@include mixins.mobile{
font-size: 15px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment