Can anyone assist me in solving the following scenario using Bootstrap 4 alpha version?
I have different layouts for Desktop and Mobile devices.
For Desktop, the layout appears as follows:
.............................................
. ------------- ------------- ------------- .
. . 1 . . 2 . . 3 . .
. . Col-4 . . Col- 4 . . . .
. ------------- ------------- . Col-4 . .
. --------------------------- . . .
. . 4 . . With . .
. . Col-8 . . some . .
. . . . height . .
. . . . . .
. --------------------------- ------------- .
.............................................
For Mobile, the layout is as shown below:
...............................
. --------------------------- .
. . 1 . .
. . Col-12 . .
. --------------------------- .
. --------------------------- .
. . 2 . .
. . Col-12 . .
. --------------------------- .
. --------------------------- .
. . 3 . .
. . Col-12 . .
. . . .
. . With . .
. . Some . .
. . Height . .
. --------------------------- .
. --------------------------- .
. . 4 . .
. . Col-12 . .
. . . .
. . . .
. . . .
. --------------------------- .
...............................
I attempted to use pull and push without success.
I am looking for a CSS-only solution for this issue.
Although I have a JavaScript solution, it requires re-initializing the 3rd column which is a heavy component.
Here is my current implementation: Fiddle