{"id":13604331,"url":"https://github.com/tiaanduplessis/wenk","last_synced_at":"2025-12-12T03:47:25.724Z","repository":{"id":57150637,"uuid":"69368483","full_name":"tiaanduplessis/wenk","owner":"tiaanduplessis","description":":wink: Lightweight pure CSS tooltip for the greater good","archived":false,"fork":false,"pushed_at":"2019-06-02T21:57:02.000Z","size":2469,"stargazers_count":688,"open_issues_count":4,"forks_count":42,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-11T00:42:29.051Z","etag":null,"topics":["css","less","scss","stylus","tooltip","wenk"],"latest_commit_sha":null,"homepage":"https://tiaanduplessis.github.io/wenk/","language":"CSS","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/tiaanduplessis.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}},"created_at":"2016-09-27T15:00:57.000Z","updated_at":"2025-04-23T19:25:35.000Z","dependencies_parsed_at":"2022-08-31T09:22:54.274Z","dependency_job_id":null,"html_url":"https://github.com/tiaanduplessis/wenk","commit_stats":null,"previous_names":["mightycrow/wenk"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fwenk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fwenk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fwenk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fwenk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiaanduplessis","download_url":"https://codeload.github.com/tiaanduplessis/wenk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254535829,"owners_count":22087399,"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":["css","less","scss","stylus","tooltip","wenk"],"created_at":"2024-08-01T19:00:43.691Z","updated_at":"2025-12-12T03:47:20.676Z","avatar_url":"https://github.com/tiaanduplessis.png","language":"CSS","funding_links":[],"categories":["CSS","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"\u003cdiv align=\"center\"\u003e\n\t\u003cimg src=\"media/banner.png\" alt=\"wenk\"\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n\tLightweight pure CSS tooltip for the greater good\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://npmjs.org/package/wenk\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/wenk.svg?style=flat-square\" alt=\"Package version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://npmjs.org/package/wenk\"\u003e\n  \u003cimg src=\"https://img.shields.io/npm/dm/wenk.svg?style=flat-square\" alt=\"Downloads\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/feross/standard\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\" alt=\"Standard\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/tiaanduplessis/wenk\"\u003e\n    \u003cimg src=\"https://img.shields.io/travis/tiaanduplessis/wenk.svg?style=flat-square\" alt=\"Travis Build\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://badge.fury.io/gh/tiaanduplessis%2Fwenk\"\u003e\n    \u003cimg src=\"https://badge.fury.io/gh/tiaanduplessis%2Fwenk.svg?style=flat-square\" alt=\"GitHub version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/tiaanduplessis/wenk/blob/master/other/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/l/wenk.svg?style=flat-square\" alt=\"License\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"http://makeapullrequest.com\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\" alt=\"PRs\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://greenkeeper.io/\"\u003e\n    \u003cimg src=\"https://badges.greenkeeper.io/tiaanduplessis/wenk.svg\" alt=\"Greenkeeper\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/tiaanduplessis/wenk/watchers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/watchers/tiaanduplessis/wenk.svg?style=social\" alt=\"Github Watch Badge\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/tiaanduplessis/wenk/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/tiaanduplessis/wenk.svg?style=social\" alt=\"Github Star Badge\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/intent/tweet?text=Check%20out%20wenk!%20https://github.com/tiaanduplessis/wenk%20%F0%9F%91%8D\"\u003e\n    \u003cimg src=\"https://img.shields.io/twitter/url/https/github.com/tiaanduplessis/wenk.svg?style=social\" alt=\"Tweet\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Table of Contents\n\n- [About](#about)\n- [As Seen in](#as-seen-in)\n- [Why](#why)\n- [Install](#install)\n- [Usage](#usage)\n- [Demo](#demo)\n- [Support](#support)\n- [Contributing](#contributing)\n- [License](#license)\n\n\n## About\n\n**Wenk** is a Lightweight tooltip available in pure CSS, [cssnext](http://cssnext.io/) using [PostCSS](http://postcss.org/), [Less](https://raw.githubusercontent.com/tiaanduplessis/wenk/master/src/wenk.less) or [SCSS](https://raw.githubusercontent.com/tiaanduplesssis/wenk/master/src/wenk.scss).\n\n## As Seen in\n\n- [20 Awesome Javascript \u0026 CSS Tooltip Libraries](https://bashooka.com/coding/javascript-css-tooltip-libraries/)\n- [Create Minified Tooltips in Pure CSS with Wenk](https://www.hongkiat.com/blog/pure-css-lightweight-tooltip-wenk/)\n\n## Why\n\n- It's Lightweight with the **minified version being only 733 bytes when gzipped** :scream:\n- It's easy to use\n- It's easy to customize\n- It's pure CSS\n- You're already here\n\n## Install\n\n**Install with cdn**\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/wenk/dist/wenk.css\"\u003e\n\u003c!-- Or --\u003e\n\u003clink rel=\"stylesheet\" href=\"https://cdn.rawgit.com/tiaanduplessis/wenk/master/dist/wenk.css\"\u003e\n```\n\n**Install with npm**\n\n```sh\n$ npm install wenk\n```\n\n**Install with yarn**\n\n```sh\n$ yarn add wenk\n```\n\n## Usage\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cimg width=\"90%\" src=\"media/wenk.gif\" alt=\"wenk\"\u003e\n\u003c/div\u003e\n\nSimply add the `data-wenk` attribute to your HTML with the text you want to display.\n```html\n\u003cspan data-wenk=\"This is a tooltip!\"\u003e\u003c/span\u003e\n```\n\nYou can display the tooltip at different positions using the `data-wenk-pos` attribute or the `.wenk--*` class. The default position is at the top.\n```html\n\u003cspan data-wenk=\"I'm to the right!\" data-wenk-pos=\"right\"\u003eWenk to the right!\u003c/span\u003e\n\u003cspan data-wenk=\"I'm to the left!\" data-wenk-pos=\"left\"\u003eWenk to the left!\u003c/span\u003e\n\u003cspan data-wenk=\"I'm at the bottom!\" data-wenk-pos=\"bottom\"\u003eWenk to the button!\u003c/span\u003e\n\u003c!-- Or --\u003e\n\u003cspan class=\"wenk--right\" data-wenk=\"I'm to the right!\"\u003eWenk to the right!\u003c/span\u003e\n\u003cspan class=\"wenk--left\" data-wenk=\"I'm to the left!\"\u003eWenk to the left!\u003c/span\u003e\n\u003cspan class=\"wenk--bottom\" data-wenk=\"I'm at the bottom!\"\u003eWenk to the button!\u003c/span\u003e\n```\n\nThe width of the tooltip can also easily be changed.\n```html\n\u003cspan data-wenk=\"I'm small!\" data-wenk-length=\"small\"\u003eSmall wenk!\u003c/span\u003e\n\u003cspan data-wenk=\"I'm medium!\" data-wenk-length=\"medium\"\u003eMedium wenk!\u003c/span\u003e\n\u003cspan data-wenk=\"I'm large!\" data-wenk-length=\"large\"\u003eLarge wenk!\u003c/span\u003e\n\u003cspan data-wenk=\"I fit!\" data-wenk-length=\"fit\"\u003eI fit just right!\u003c/span\u003e\n\u003c!-- Or --\u003e\n\u003cspan data-wenk=\"I'm small!\" class=\"wenk-length--small\"\u003eSmall wenk!\u003c/span\u003e\n\u003cspan data-wenk=\"I'm medium!\" class=\"wenk-length--large\"\u003eMedium wenk!\u003c/span\u003e\n\u003cspan data-wenk=\"I'm large!\" class=\"wenk-length--large\"\u003eLarge wenk!\u003c/span\u003e\n\u003cspan data-wenk=\"I fit!\" class=\"wenk-length--fit\"\u003eI fit just right!\u003c/span\u003e\n```\n\nYou can also align your text within the container\n```html\n\u003cp\u003e\u003cspan data-wenk=\"I'm right!\" class=\"wenk-align--right\"\u003eWenk to the right!\u003c/span\u003e\u003c/p\u003e\n\u003cp\u003e\u003cspan data-wenk=\"I'm center!\" class=\"wenk-align--center\"\u003eWenk in the center!\u003c/span\u003e\u003c/p\u003e\n```\n\n## Demo\n\nCheck out the demo [here](https://tiaanduplessis.github.io/wenk/).\n\n## Support\n\nAccording to [doiuse.com](http://www.doiuse.com/) the following browsers are currently missing support:\n- IE (8,10)\n- Opera (12.1)\n- Opera Mini (5.0-8.0)\n- IE Mobile (10)\n\n## Contributing\n\nAll Contributions are welcome! Please open up an issue if you would like to help out. :smile:\n\n## License\n\nLicensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Fwenk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiaanduplessis%2Fwenk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Fwenk/lists"}