@charset "UTF-8";

// @description
// * display `grid` mixin.
// * This mixin provides a convenient way to set the `display` property
// * to a `grid` value using the specified vendor prefixes for better
// * cross-browser compatibility.

// @access public

// @version 1.1.0

// @author Khaled Mohamed

// @license MIT

// @repository: https://github.com/Black-Axis/sass-pire

// @reference: https://developer.mozilla.org/en-US/docs/Web/CSS/grid

// @namespace grid

// @module grid/d-grid

// @dependencies:
// * - Nothing.

// @example
// * .example {
// *   @include d-grid;
// * }

// @output:
// * .example {
// *   display: -ms-grid;
// *   display: grid;
// * }

@mixin d-grid() {
    $grid-prefixes-values: (-ms-grid, grid) !default;

    @each $value in $grid-prefixes-values {
        display: #{$value};
    }
}
