{"id":15921635,"url":"https://github.com/eonu/tooltip","last_synced_at":"2025-06-18T11:35:03.527Z","repository":{"id":111777585,"uuid":"169234124","full_name":"eonu/tooltip","owner":"eonu","description":"Pure SCSS pseudo-element tool-tip configured with custom HTML attributes.","archived":false,"fork":false,"pushed_at":"2020-09-30T18:46:26.000Z","size":2,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-03T12:22:58.598Z","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/eonu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-05T12:01:20.000Z","updated_at":"2019-02-08T02:04:21.000Z","dependencies_parsed_at":"2023-04-20T00:44:03.431Z","dependency_job_id":null,"html_url":"https://github.com/eonu/tooltip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eonu/tooltip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eonu%2Ftooltip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eonu%2Ftooltip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eonu%2Ftooltip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eonu%2Ftooltip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eonu","download_url":"https://codeload.github.com/eonu/tooltip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eonu%2Ftooltip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260545650,"owners_count":23025770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-06T20:01:28.166Z","updated_at":"2025-06-18T11:34:58.516Z","avatar_url":"https://github.com/eonu.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tooltip\n\nPure SCSS hover-activated tool-tip configured with custom HTML attributes.\u003cbr\u003e**Implementation**: [View article on Medium](https://medium.freecodecamp.org/a-step-by-step-guide-to-making-pure-css-tooltips-3d5a3e237346)\n\n\u003cp align=\"center\"\u003e\u003cimg width=\"400px\" src=\"https://i.ibb.co/hm5nc0J/tooltips.png\"\u003e\u003c/p\u003e\n\n## Features\n\n- Two new HTML attributes that define a tool-tip and its position:\n\n  - `tooltip` - The text content of the tool-tip pseudo-element\n  - `tooltip-position` - The position of the tooltip (relative to current element)\n\n  **Examples**:\n\n  ```html\n  \u003cbutton tooltip=\"Button 1\" tooltip-position=\"top\"\u003eButton\u003c/button\u003e\n  \u003cbutton tooltip=\"Button 2\" tooltip-position=\"right\"\u003eButton\u003c/button\u003e\n  \u003cbutton tooltip=\"Button 3\" tooltip-position=\"bottom\"\u003eButton\u003c/button\u003e\n  \u003cbutton tooltip=\"Button 4\" tooltip-position=\"left\"\u003eButton\u003c/button\u003e\n  ```\n\n- An SCSS map for some basic tool-tip styling customization:\n\n  ```scss\n  $tooltip: (\n      padding: 4px 2px,\n      min-width: 80px,\n      font-size: 12px,\n      border-width: 4px 6px 0 6px,\n      border-style: solid,\n      border-color: rgba(0,0,0,0.7) transparent transparent transparent,\n      border-radius: 3px,\n      background-color: rgba(0,0,0,0.7),\n      color: white,\n  );\n  ```\n\n  **Note**: New CSS attributes for the tool-tip cannot be added to this map.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feonu%2Ftooltip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feonu%2Ftooltip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feonu%2Ftooltip/lists"}