Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named Parameters (bug or feature request) #47

Open
mtoepfl opened this issue Sep 16, 2014 · 0 comments
Open

Named Parameters (bug or feature request) #47

mtoepfl opened this issue Sep 16, 2014 · 0 comments

Comments

@mtoepfl
Copy link

mtoepfl commented Sep 16, 2014

this feature would be very useful, especially for python-programmers: keyword-args

http://lesscss.org/features/#mixins-parametric-feature-named-parameters

LESS:

.dimension(@width: 40px, @height: 20px) {
width:@width;
height:@height;
}

div.con {
.dimension(@height:30px);
}

results in CSS:

div.con{width:30px;height:30px;}

Seems like keyword-paramter is used as kw-parameter and first arg at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant