less / less/less-docs

Properties as Variable misinterpretation.

Open
#477 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Less
Stars
680
Forks
442
PR merge metrics
No merged PRs in 30d

Description

A curious "Properties as Variable" misinterpretation.
Basically he's expecting (as I can guess) Less will read actual background property from a unknown * HTML element of a run-time page.
It's not that in the current documentation it's is not clear in that sense (it is - if you know Less has nothing to do with HTML pages), but still it would not harm to stress it's all about properties explicitly specified in the same CSS/Less code and not properties of HTML elements (of the page you apply your compiled CSS to - whatever ridiculous that may sound).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Properties as Variable documentation and the linked Stack Overflow example first. Clarify that the feature refers to properties explicitly written in the same CSS/Less source, not properties read from HTML elements or a runtime page; the documentation is complete when that distinction is explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.