Using Parametric Mixins in Less CSS

Posted by Goud.Kv under CSS 3 category on | Points: 40 | Views : 942
See the below code snippets., Using Parametric Mixins in Less.

In Less Style sheet,
.mycolor(@color: #ff00dc) 


In View page,
<div class="welcome">
Welcome Guest

You can see the Output in given color.

Comments or Responses

Posted by: vireshraj-6687 on: 5/23/2014 Level:Starter | Status: [Member] | Points: 10
Not working
Posted by: Goud.Kv on: 5/23/2014 Level:Gold | Status: [Member] [MVP] | Points: 10
You should add your less Style sheet to your view page..

Login to post response