This time I will share jQuery Plugin and tutorial about Mirror Characters, Text, And Images In jQuery – mirror.js, hope it will help you in programming stack.
mirror.js is a small jQuery plugin (jQuery UI widget) that applies mirror and reflection effects characters, text, and/or images using CSS3 transforms.
How to use it:
1. Include the necessary jQuery and jQuery UI libraries on the web page.
2 |
integrity = "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" |
3 |
crossorigin = "anonymous" > |
2. Place the JavaScript file mirror.js
after jQuery.
1 |
< script src = "mirror.js" ></ script > |
3. Call the plugin to mirror your text and images in the document.
2 |
< span >Left-aligned text becomes right-aligned.</ span > |
3 |
$( '.example' ).mirror(); |
4. Mirror the characters instead of the whole text.
5. Apply a reflection effect to the mirrored text/image.
This awesome jQuery plugin is developed by s1r-J. For more Advanced Usages, please check the demo page or visit the official website.