
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
This is gem-bundled version of Hint.css, ready to use with Rails or Compass.
Hint.css is a tooltip library written in SASS which uses only HTML/CSS to create simple tooltips. It does not rely on JavaScript and rather uses data-*
attribute, pseudo elements, content
property and CSS3 transitions to create the tooltips. Also it uses BEM naming convention particularly for the modifiers.
Add this line to your application's Gemfile:
gem 'hint'
Or install it yourself as:
$ gem install hint
Import hint in an SCSS file:
@import "hint";
or require it via Sprockets:
/*
*= require hint
*/
Create new project:
$ compass create <project name> -r hint -u hint
or update an existing:
# In config.rb
require "hint"
Any element on your page which needs to have a tooltip has to be given at least one of the position classes: hint--top
, hint--bottom
, hint--left
, hint--right
to position the tooltip.
Hello Sir, <span class="hint--bottom">hover me.</span>
The tooltip text needs to be given using the data-hint
attribute on that element.
Hello Sir, <span class="hint--bottom" data-hint="Thank you!">hover me.</span>
Use it with other available modifiers in various combinations. Available modifiers:
hint--error
hint--info
hint--warning
hint--success
hint--always
hint--rounded
Check out some examples at http://kushagragour.in/lab/hint/
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that hint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.