Sometimes we need to fulfill situation which we want to line up several components in a row and the last component leans on the right most of the div
Solutions
This comes to marginLeft/Right: auto, when we try to mark the container component with margin-left: auto, the container takes all the spaces available to the left hence position the switch button at the right most of the container.
References
沒有留言:
張貼留言