Skip to content

Simple JQuery for adding dog ears to html elements

Notifications You must be signed in to change notification settings

Bachstelze/DogEarJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

DogEarJS

Simple JQuery Plugin for adding animated dog ears to html elements which turn according to the scroll position. Tested with jquery-3.1.1 and jquery-1.7.1

Example usage:

$(document).ready(function() {
  $("h3").spruchband({
      'height' : '15px',
      'width' : '15px',
      'z-index' : '4',
      'position' : 'absolute',
      'overflow' : 'hidden',
      'background-color' : 'black'
    });
});

TODO: flexible rotation axis

About

Simple JQuery for adding dog ears to html elements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published