L
L
Leonid Nimchenko2017-07-03 21:55:07
UIkit
Leonid Nimchenko, 2017-07-03 21:55:07

How to place two links on opposite sides of a block in Uikit?

Hello.
Document lightened with Uikit. There are two links with "uk-width-1-3 uk-button" classes. Those. they occupy 33% of the width each. Is it possible to move the second link to the right border of the block using Uikit?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2019-07-09
@asuikit

Hello. Not enough initial information. Wrapped up in a grid?
Perhaps then Flex will help . Add .uk-flex-between. The result will be the first element at the beginning and the last element at the end.
...
Below is just a note to you, because. it's a bit different
Just place the element on the right - .uk-float-right.
.uk-align-right- aligns the element to the right, creating a left and bottom margin.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question