code for rounded corners using LESS

Goud.Kv
Posted by Goud.Kv under CSS 3 category on | Points: 40 | Views : 470
Below code explains to display rounded corners for a section.

In Less stylesheet,
@radius: 5px;

@border: 1px solid black;

.rounded_corners {
border: @border;
-moz-border-radius: @radius;
-webkit-border-radius: @radius;
border-radius: @radius;
}


In View page,


<div class="rounded_corners">
Hello.....
</div>

Comments or Responses

Login to post response