Bootstrap vertical align a row in a col
问题 I have a code : http://www.bootply.com/8uA4jyGZKB I would like to vertically center the text and icons at the right of the picture. How can I vertically center the contents of the col-md-10 div ? 回答1: You can use CSS Flexbox . Make the .row a flex container and use align-items property to vertically center the content. Just like: .row { display: flex; align-items: center; } Have a look at the snippet below ( use full screen for preview ): body { padding-top: 50px; } .row { display: flex;