Evenly spacing out elements within a div for responsive design
问题 I have four elements within a div and want to space them out evenly in the available space. What technique is considered best practice for responsive design in this case? For each element, I am using: height: 75px; width: 75px; border-radius: 50%; margin-right: 20px; JS Fiddle: http://jsfiddle.net/adnanymous/9yYZJ/ 回答1: Since you're already using bootstrap, just insert a div.row-fluid inside that div that should contain the four items. Wrap each of those four items in a div.span3 . That will