I am a beginner with Less.js and I am struggling to reuse the p.InputTitle
in my examples. Unfortunately, it is not working for me and I keep encountering errors. After doing some research, I came across mixins and learned about the possibility of using 'Extend'. Can someone explain this concept to me?
Here is my code:
.LoginForm {
p.InputTitle {
color: #656565;
font-size: 14px;
font-family: @OpenSans;
font-weight: 600;
}
}
.Membership{
p.InputTitle {
.LoginForm p.InputTitle;
}
}