Home > Software design >  How to move icons to the right?
How to move icons to the right?

Time:09-26

example How to move icons to the right and position it on same level? Didn't find any information about it on the internet* Here is pug code bin is inderlined And css css

CodePudding user response:

The easiest way to generally have two elements at the far ends of a container that has some empety space is to use flexbox's justify-content: space-between

So in your case you need to take the bin out of the p and put it inside .todo directly.

Then add justify-content: space-between and align-items: center to the .todo

CodePudding user response:

In your css have you tried css float

  • Related