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?
I guess it is what you are looking for: http://blogsh.de/tag/bootstrap-less/
You can use it because there is a mixin:
For Bootstrap 3, there are 4 mixins you can use...
or you can make your own mixin using the top 4 to do it in one shot.
<div class="img-rounded">
will give you rounded corners.With bootstrap4 you can easily do it like this :-
or