{"id":15690921,"url":"https://github.com/borodean/less-properties","last_synced_at":"2026-03-01T15:02:58.281Z","repository":{"id":3157896,"uuid":"4188243","full_name":"borodean/less-properties","owner":"borodean","description":"[Deprecated] Mixin that adds some variable property support to LESS.","archived":false,"fork":false,"pushed_at":"2020-02-11T19:49:41.000Z","size":14,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T02:43:01.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borodean.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-01T00:12:05.000Z","updated_at":"2020-02-11T19:50:27.000Z","dependencies_parsed_at":"2022-09-06T19:41:08.036Z","dependency_job_id":null,"html_url":"https://github.com/borodean/less-properties","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/borodean/less-properties","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodean%2Fless-properties","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodean%2Fless-properties/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodean%2Fless-properties/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodean%2Fless-properties/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borodean","download_url":"https://codeload.github.com/borodean/less-properties/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodean%2Fless-properties/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29973134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T14:44:57.896Z","status":"ssl_error","status_checked_at":"2026-03-01T14:43:27.662Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T18:17:44.494Z","updated_at":"2026-03-01T15:02:58.227Z","avatar_url":"https://github.com/borodean.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Deprecated. LESS supports [property interpolation](http://lesscss.org/features/#variables-feature-properties) since version 1.6.0.**\n\n---\n\nless-properties\n===============\nMixin that adds some variable property support to [LESS](https://github.com/cloudhead/less.js).\n\nusage\n-----\n\nInclude this stylesheet to your project:\n```scss\n@import url('properties.less');\n```\n\nexamples\n--------\n\nNow you can use variable properties:\n```scss\n@property: border-radius;\n\n.class-1 {\n  .property(@property, 10px);\n}\n\n.class-2 {\n  .property(@property, ~'10px 20px');\n}\n```\nWhich will output in:\n```css\n.class-1 {\n  -less-property: property;\n  border-radius: 10px;\n}\n\n.class-2 {\n  -less-property: property;\n  border-radius: 10px 20px;\n}\n```\nYou can also mass create properties with prefixes:\n```scss\n.class {\n  .property(border-radius, 10px, 'moz webkit o');\n}\n```\nWhich will output in:\n```css\n.class {\n  -less-property: property;\n  -moz-border-radius: 10px;\n  -webkit-border-radius: 10px;\n  -o-border-radius: 10px;\n  border-radius: 10px;\n}\n```\n\nIf you want to generate *only* prefixed properties, pass `false` as a fourth\nargument:\n```scss\n.class {\n  .property(border-radius, 10px, 'moz webkit o', false);\n}\n```\nWhich will output in:\n```css\n.class {\n  -less-property: property;\n  -moz-border-radius: 10px;\n  -webkit-border-radius: 10px;\n  -o-border-radius: 10px;\n}\n```\n\nknown issues\n------------\nThe `-less-property: property` junk line of code is a necessary sacrifice due to\nthe hack nature of this mixin. However, all browsers should normally skip this\nline so it's just a matter of purity of code.\n\nThe mixin properly works with values that have spaces in them (e. g.\n`1px solid red`) only when those are passed as an escaped string (e. g.\n`~'1px solid red'`).\n\nlicense\n-------\nLicensed under WTFPL.\nSee http://sam.zoy.org/wtfpl/COPYING for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborodean%2Fless-properties","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborodean%2Fless-properties","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborodean%2Fless-properties/lists"}