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?
To create a rounded circle with Bootstrap, use the rounded-circle class.
Border-radius Add classes to an element to easily round its corners.
img-rounded − You can make rounded corners to an image by using . rounded class.
With the CSS border-radius property, you can give any element "rounded corners".
<div class="img-rounded">
will give you rounded corners.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With