PHP Classes

File: public/asset/vendor/select2/docs/themes/learn2/scss/vendor/bourbon/addons/_position.scss

Recommend this page to a friend!
  Classes of fathurrahman   mnTemplate   public/asset/vendor/select2/docs/themes/learn2/scss/vendor/bourbon/addons/_position.scss   Download  
File: public/asset/vendor/select2/docs/themes/learn2/scss/vendor/bourbon/addons/_position.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: mnTemplate
Route HTTP requests to callback functions
Author: By
Last change:
Date: 1 year ago
Size: 715 bytes
 

Contents

Class file image Download
@mixin position ($position: relative, $coordinates: null null null null) { @if type-of($position) == list { $coordinates: $position; $position: relative; } $coordinates: unpack($coordinates); $top: nth($coordinates, 1); $right: nth($coordinates, 2); $bottom: nth($coordinates, 3); $left: nth($coordinates, 4); position: $position; @if ($top and $top == auto) or (type-of($top) == number) { top: $top; } @if ($right and $right == auto) or (type-of($right) == number) { right: $right; } @if ($bottom and $bottom == auto) or (type-of($bottom) == number) { bottom: $bottom; } @if ($left and $left == auto) or (type-of($left) == number) { left: $left; } }