@use 'sass:math';
@use "../../functions/index" as fi;

$base-options: null;

// 输出全局栅格，浮动
@mixin float($total, $options: ()) {
	$prefix: fi.prefix($base-options, $options);

	@for $i from 1 through $total {
		#{$prefix}w-#{$i}\/#{$total} {
			width: fi.percentw($i, $total);
		}
	}
}
