In UIkit3 there is a really handy utility stack that has a float left/right option. It essentially wraps the content (any stack) with the float css. I’m trying to do the same thing with some stacks in another framework, but not getting far.
I’ve tried the obvious; create a class of float-right and add it to the stack using the custom css option, then setting up the class along the lines of .float-right { float: right; }
but it’s not working.
What I’m trying to do is to get two elements to sit on the same row side by side, over to the right of the page. I know I could just use a col stack, but that’s adding a lot of needed weight to the page (I think) when in theory a simple float-right instruction would work.
Anyone any ideas for doing this?
EDIT: The above actually worked, I just had an error in the code. But, the elements (stacks) are still on separate rows. Any idea how to have them float on the same row?