@charset "UTF-8";

// @description
// * odd mixin.
// * This mixin provides a convenient way to select the
// * odd children between of elements in the current context.

// @access public

// @version 1.0.0

// @author Lucas Bonomi
// @link: https://github.com/LukyVj/family.scss

// @license MIT

// @repository: https://github.com/Black-Axis/sass-pire

// @namespace children

// @module children/odd

// @example
// * .example {
// *   .child {
// *     @include odd {
// *        background-color: #212121;
// *        color: #ffffff;
// *     };
// *   }
// * }

// @output
// * .example .child:nth-child(odd) {
// *   background-color: #212121;
// *   color: #ffffff;
// * }

@mixin odd() {
    &:nth-child(odd) {
        @content;
    }
}
