Skip to content

Instantly share code, notes, and snippets.

@shawn-sandy
Last active February 28, 2022 00:05
Show Gist options
  • Save shawn-sandy/78148d068a2f7b58b982932550828a17 to your computer and use it in GitHub Desktop.
Save shawn-sandy/78148d068a2f7b58b982932550828a17 to your computer and use it in GitHub Desktop.
SCSS snippets
/**
* **************************************
* FirsPaint
* Author: Shawn Sandy
* Date: 2021-04-01
* **************************************
* @format
*/
@mixin props() {
// * css custom properties
@content;
}
@mixin rules {
@include props;
// * css rules/styles
@content;
}
@mixin styles {
// * css style utilities
@content;
}
/**
* tag or classname name nav, .nav
*/
@mixin module-name {
@include rules;
@include styles;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment