Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Using md-wrap to reverse the order of children element. #4132

@ryanespin

Description

@ryanespin

Hi,

Currently in a project I am working on, I needed to reverse the order of buttons in a wrapping layout for small resolutions. I noticed [layout-wrap] allows me to wrap the child elements, but not in reverse. I would recommend adding something to handle this.

I've added to my CSS the concept of adding layout-wrap="reverse" to allow me to reverse the order of layouts.

[layout-wrap=reverse] {
    flex-wrap: wrap-reverse;
}

Here's an example of it being used: http://codepen.io/ryanespin/pen/JdzgLj

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions