{"id":38595415,"url":"https://github.com/htmlacademy/nebo.css","last_synced_at":"2026-01-17T08:27:25.122Z","repository":{"id":289731679,"uuid":"972146385","full_name":"htmlacademy/nebo.css","owner":"htmlacademy","description":"Negative border radius made easy","archived":false,"fork":false,"pushed_at":"2025-11-01T14:47:23.000Z","size":38,"stargazers_count":49,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-01T16:19:02.077Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/htmlacademy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-24T15:53:22.000Z","updated_at":"2025-11-01T15:56:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1732d7a-81e9-44dc-8dac-c97e97603b81","html_url":"https://github.com/htmlacademy/nebo.css","commit_stats":null,"previous_names":["htmlacademy/nebo.css"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/htmlacademy/nebo.css","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Fnebo.css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Fnebo.css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Fnebo.css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Fnebo.css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/htmlacademy","download_url":"https://codeload.github.com/htmlacademy/nebo.css/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Fnebo.css/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: 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":"2026-01-17T08:27:25.047Z","updated_at":"2026-01-17T08:27:25.100Z","avatar_url":"https://github.com/htmlacademy.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nebo.css\n\nNegative border radius made easy\n\n\u003e Nebo.css is a pure CSS solution that allows you to add a “convex” or “concave” puzzle angle to elements without\n\u003e SVG and JavaScript. Everything is controlled via custom CSS variables.\n\n## Features\n\n- ⚡ CSS only — no images or scripts;\n- 🎛 Flexible customization via variables:\n  - `--nb-r` - radius of main rounding;\n  - `--nb-w` - width of protrusion/cutout;\n  - `--nb-h` - height of protrusion/cutout;\n  - `--nb-cor1-rw`, `--nb-cor1-rh` - first corner radius (width/height);\n  - `--nb-cor2-rw`, `--nb-cor2-rh` - second corner radius (width/height);\n  - `--nb-curve-rw`, `--nb-curve-rh` - curve radius (width/height);\n- 🧩 4 modifiers for angle positioning: `.nebo--tl`, `.nebo--tr`, `.nebo--bl`, `.nebo--br`;\n  ![Example of using modifiers](assets/examples.jpg)\n- 🖼 Supports any backgrounds (solid colors, gradients, images);\n- 🔧 SCSS mixin for advanced customization: `@include apply-nebo-corner()`.\n\n## Example of use\n\n```html\n\n\u003cdiv class=\"card nebo nebo--br\"\u003e\n  Card Content\n\u003c/div\u003e\n```\n\n```css\n.card {\n  --nb-r: 24px; /* radius of curvature  */\n  --nb-w: 28px; /* protrusion width */\n  --nb-h: 28px; /* protrusion height */\n  background: linear-gradient(135deg, #b98bff, #6244d6);\n  padding: 2rem;\n  color: #fff;\n  font: 16px/1.4 \"Inter\", sans-serif;\n}\n```\n\nCombine modifiers to get a four-piece puzzle:\n\n```html\n\n\u003cdiv class=\"grid\"\u003e\n  \u003cdiv class=\"nebo nebo--tl\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"nebo nebo--tr\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"nebo nebo--bl\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"nebo nebo--br\"\u003e\u003c/div\u003e\n\u003c/div\u003e\n```\n\n## SCSS Usage\n\nFor more precise control, use the SCSS mixin:\n\n```scss\n.custom-puzzle {\n  @include apply-nebo-corner(\n    $radius: 24px,        // Set all radiuses to 24px\n    $width: 32px,         // Set protrusion width\n    $height: 28px,        // Set protrusion height\n    $corner: \"br\"         // Position at bottom-right\n  );\n}\n\n.asymmetric-puzzle {\n  @include apply-nebo-corner(\n    $cor1-rw: 20px,       // First corner width radius\n    $cor1-rh: 16px,       // First corner height radius\n    $cor2-rw: 24px,       // Second corner width radius\n    $cor2-rh: 20px,       // Second corner height radius\n    $curve-rw: 18px,      // Curve width radius\n    $curve-rh: 14px,      // Curve height radius\n    $width: 30px,\n    $height: 25px,\n    $corner: \"tl\"\n  );\n}\n```\n\n## Browser support\n\n| Browser | Version | \n|---------|---------|\n| Chrome  | 60+     |\n| Edge    | 79+     |\n| Firefox | 53+     |\n| Safari  | 14+     |\n\n## Translations\n\n- [RU](./README_ru.md)\n- [EN](./README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlacademy%2Fnebo.css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhtmlacademy%2Fnebo.css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlacademy%2Fnebo.css/lists"}