Skip to content
This repository was archived by the owner on Sep 17, 2019. It is now read-only.

beliarh/tiny-mixins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny Mixins (Sass):

Clearfix

@mixin clearfix() { /* ... */ }

Usage:

.container {
    @include clearfix;
}

Reset

@mixin reset() { /* ... */ }

Usage:

@include reset;

Triangle

@mixin triangle($direction, $width, $height, $color) { /* ... */ }

Arguments:

  • $direction: to (top|right|bottom|left){1, 2}
  • $width: width
  • $height: height
  • $color: color

Usage:

.element {
    @include triangle(to right bottom, 30px, 25px, #000);
}

About

Tiny SASS (SCSS) mixins

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages