Sha256: 3a58f406c50e98b00a77cf6e79ae530266eb63d52b8658998006b87514161e21

Contents?: true

Size: 382 Bytes

Versions: 7

Compression:

Stored size: 382 Bytes

Contents

// Convert fixed to fluid width
//--------------------------------------------------------------------------------
// @param $target [number] : target
// @param $context [number] : context
// -------------------------------------------------------------------------------
// @return [number]

@function flint-fluid-width($target, $context) {
	@return ($target / $context) * 100%;
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
flint-gs-1.12.0 stylesheets/flint/functions/lib/_fluid-width.scss
flint-gs-1.11.2 stylesheets/flint/functions/lib/_fluid-width.scss
flint-gs-1.10.0 stylesheets/flint/functions/lib/_fluid-width.scss
flint-gs-1.9.1 stylesheets/flint/functions/lib/_fluid-width.scss
flint-gs-1.8.0 stylesheets/flint/functions/lib/_fluid-width.scss
flint-gs-1.7.2 stylesheets/flint/functions/lib/_fluid-width.scss
flint-gs-1.7.0 stylesheets/flint/functions/lib/_fluid-width.scss