From c2fb64ce37d80f33e03eda0e9a956e910cd1ffd8 Mon Sep 17 00:00:00 2001 From: Luke Frake Date: Tue, 3 Oct 2017 02:56:13 +0100 Subject: Add order first to grid (#24202) * Add first class to grid framework to add negative ordering * Add order-first explination to the docs --- scss/mixins/_grid-framework.scss | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scss') diff --git a/scss/mixins/_grid-framework.scss b/scss/mixins/_grid-framework.scss index 5e7d1ffb5..41bdf4646 100644 --- a/scss/mixins/_grid-framework.scss +++ b/scss/mixins/_grid-framework.scss @@ -46,6 +46,10 @@ } } + .order#{$infix}-first { + order: -1; + } + @for $i from 1 through $columns { .order#{$infix}-#{$i} { order: $i; -- cgit v1.2.3