code for rounded corners using LESS

Posted by Goud.Kv under CSS 3 category on | Points: 40 | Views : 1115
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">

Comments or Responses

Login to post response