Giter Site home page Giter Site logo

simple-hint's Introduction

Simple Hint

Simple-hint is a CSS-only tooltip library packed with a variety of features. Easily customizable if you want to configure any settings.

For demo and usage, see official documentation.


To install via Bower:

$ bower install simple-hint

Features

  • positioning + alignment
  • opacity fade in
  • animation
  • delay visibility on hover
  • persistence
  • tooltip sizing
  • various colors
  • disable on mobile

Browser support

  • Chrome, Firefox, Safari, Opera
  • IE 9+ for basic usage
  • IE 10+ for transitions & animations

Customizing styles

Customing tooltips to your specific needs is easy. Just open the raw sass file - src/simple-hint.scss, change any sass variables, run npm run build and your updated css will be in dist/.

License

Simple-hint is licensed under the MIT license (http://opensource.org/licenses/MIT).

Contributing

If you find any bugs, have feature requests, or would like to contribute - either send me a pull request or open a ticket and I'll do my best to address it.

simple-hint's People

Contributors

anomeon avatar catc avatar patrickberkeley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-hint's Issues

Not valid HTML

http://validator.w3.org/check

<!DOCTYPE HTML>
<html>
<head>
  <title>Test</title>
</head>
<body>
  <span simple-hint="your message goes here" class="hint-top">Top hint</span>
</body>
</html>

Line 7, Column 62: Attribute simple-hint not allowed on element span at this point.
<span simple-hint="your message goes here" class="hint-top">Top hint</span>


I suggest using data-hint or data-simple-hint

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.