Answers for "flex last 2 items to end"

CSS
0

css last item should be flex end

Setting an automatic left margin for the Last Item will do the work.

.last-item {
  margin-left: auto;
}
Posted by: Guest on July-14-2021
2

flexbox align last item right

apply margin-left: auto 
to the last item
Posted by: Guest on June-08-2021

Browse Popular Code Answers by Language