Skip to content

diegodalbosco/TextHoler.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextHoler.js

Use this JQuery plugin to make your text like a hole in the page

You can find a demo page with some examples here

This is the result

Basic example

This is a basic usage example providing only an URL/path to locate the image

The result of this example is the image above

HTML markup

<span id="test">TEXT HOLER</span>

jQuery

$('#test').textHoler({
	background: "http:https://i.giphy.com/fnMmGzRnQD6Ny.gif"
});

Available Options

These are the available options with the default values

color: "transparent",
size: "48px",
family: "arial",
repeat: "repeat",
weight: 700

NOTE: backgroud option is required! If you don't provide any background image the plugin doesn't work and it will log to console "Damn! I need an image to use for the background!" message.

About

Use this JQuery plugin to make your text look like a hole in the page

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published