jQuery Clean and Simple Tooltips: gips

gravatar
JQuery 3.3.1, gips
Snippet by CodAmz
626 0
Resources
<div id="center">
        <div id="header">
        </div>
        <div id="demo">
            <input type="text" value="Purple Tooltip Here." id="purple" />
            <input type="text" value="Green Tooltip Here." id="green" />
            <input type="text" value="Yellow Tooltip Here." id="yellow" />
            <input type="text" value="Red Tooltip Here." id="red" />
        </div>
    </div>
body
        {
            background-color: #E3E5E4;
            background: url(images/bg.jpg);
        }
        #center
        {
            margin: auto;
            width: 440px;
            height: 300px;
            padding: 40px;
            padding-top: 10px;
        }
        #header
        {
            background-image: url(images/header.png);
            background-repeat: no-repeat;
            width: 100%;
            height: 70px;
        }
        #demo input
        {
            width: 330px;
            height: 10px;
            margin-top: 80px;
            border: solid 1px #c9c9c9;
            padding: 10px;
            padding-top: 6px;
            font-family: Arial;
            font-size: 11px;
            font-weight: bold;
        }
$(document).ready(function () {
            $('input#purple').gips({ 'theme': 'purple', autoHide: true, text: 'This is purple tooltip, auto hide after pausess time elapses.' });
            $('input#green').gips({ 'theme': 'green', placement: 'left' });
            $('input#yellow').gips({ 'theme': 'yellow', autoHide: true, placement: 'right' });
            $('input#red').gips({ 'theme': 'red', placement: 'bottom' });
        });

Javascript Resources


https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
https://codeamaze.com/Uploads/Resources/2018/08/C7m3y5kAEWg/js/gips.js

{} CSS Resources


https://codeamaze.com/Uploads/Resources/2018/08/C7m3y5kAEWg/css/gips.css