Correct way to create rounded corners in Twitter Bootstrap

Edward Ruchevits picture Edward Ruchevits · Aug 23, 2012 · Viewed 228.2k times · Source

I've just started with Twitter Bootstrap and here is one question.

I am creating custom <header> block, and I want it's bottom corners to be rounded.

Is there any "correct" way to do this by using predefined classes, or I have to specify it manually like:

border-radius: 10px;               // and all that cross-browser trumpery

For now, I'm using css styles. Maybe it will be better to use less for that issue?

Answer

Swade picture Swade · Jan 11, 2014

<div class="img-rounded"> will give you rounded corners.