The difference between col-md-push-* and Col-md-offset

Source: Internet
Author: User

The difference of realization way: col-md-offset-*, is realized by using Margin-left, col-md-push-*/col-md-pull-* is realized by using relative position.

The difference between the effects, col-md-offset-* can only be cheaper to the right, because the implementation is margin-left, and push/pull because it is relative positioning, can either left offset or right offset

Also, if one line of offsets + the actual width of the composite exceeds 12,col-md-offset will be wrapped, also because of margin, and Push/pull will only be partially invisible (beyond the container), because it is relative to its own positioning.

From the functional point of view, push and pull can be used to change the position of elements, more flexible.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.