Documents

Title
Textillate.js
Description
Textillate.js is a jQuery plugin that adds In / Out animation effects to text.
Category
Animation
Text
Library
Textillate.js
Lettering.js
Animate.css
jQuery
Include Files
<!-- Add jQuery and Textillate.js, Lettering.js, Animate.css -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/textillate/0.4.0/jquery.textillate.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lettering.js/0.7.0/jquery.lettering.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.css">
Basic markup

        <script>
            $(function () {
                $('.text').textillate({
                    option
                });
            });
        </script>        
        <p class="text">...</p>
    
Attachment Table

Textillate.js Options

PropertyTypeDefaultDescription
selectorSelector'.texts'the default selector to use when detecting multiple texts to animate
loopBooleanfalseenable looping
minDisplayTimeNumber2000sets the minimum display time for each text before it is replaced
initialDelayNumber0sets the initial delay before starting the animation
(note that depending on the in effect you may need to manually apply visibility: hidden to the element before running this plugin)
autoStartBooleantrueset whether or not to automatically start animating
inEffectsArray[]custom set of 'in' effects. This effects whether or not the character is shown/hidden before or after an animation
outEffectsArray[ 'hinge' ]custom set of 'out' effects
in: {in animation settings
effectString'fadeInLeftBig'set the effect name
delayScaleNumber1.5set the delay factor applied to each consecutive character
delayNumber50set the delay between each character
syncBooleanfalseset to true to animate all the characters at the same time
shuffleBooleanfalserandomize the character sequence (note that shuffle doesn't make sense with sync = true)
reverseBooleanfalsereverse the character sequence (note that reverse doesn't make sense with sync = true)
callbackfunctionfunction () {}callback that executes once the animation has finished
}
out:{out animation settings.
effectString'hinge'
delayScaleNumber1.5
delayNumber50
syncBooleanfalse
shuffleBooleanfalse
reverseBooleanfalse
callbackfunctionfunction () {}
}
callbackfunctionfunction () {}
typeString'char'set the type of token to animate (available types: 'char' and 'word')

Animate.css Class Name

Attention Seekers
bounceflashpulserubberBand
shakeheadShakeswingtada
wobblejello
Bouncing Entrances
bounceInbounceInDownbounceInLeftbounceInRight
bounceInUp
Bouncing Exits
bounceOutbounceOutDownbounceOutLeftbounceOutRight
bounceOutUp
Fading Entrances
fadeInfadeInDownfadeInDownBigfadeInLeft
fadeInLeftBigfadeInRightfadeInRightBigfadeInUp
fadeInUpBig
Fading Exits
fadeOutfadeOutDownfadeOutDownBigfadeOutLeft
fadeOutLeftBigfadeOutRightfadeOutRightBigfadeOutUp
fadeOutUpBig
Flippers
flipInXflipInYflipOutXflipOutY
Lightspeed
lightSpeedInlightSpeedOut
Rotating Entrances
rotateInrotateInDownLeftrotateInDownRightrotateInUpLeft
rotateInUpRight
Rotating Exits
rotateOutrotateOutDownLeftrotateOutDownRightrotateOutUpLeft
rotateOutUpRight
Sliding Entrances
slideInUpslideInDownslideInLeftslideInRight
Sliding Exits
slideOutUpslideOutDownslideOutLeftslideOutRight
Zoom Entrances
zoomInzoomInDownzoomInLeftzoomInRight
zoomInUp
Zoom Exits
zoomOutzoomOutDownzoomOutLeft
zoomOutRightzoomOutUp
Specials
hingejackInTheBoxrollInrollOut
Related

Source Code

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Add jQuery and Textillate.js, Lettering.js, Animate.css -->
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/textillate/0.4.0/jquery.textillate.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lettering.js/0.7.0/jquery.lettering.min.js"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.css">
    <title>Textillate.js</title>
    <style>
        [class^='text-'] {
            font-size: 2em;
            margin: 20px 0;
        }
        .button{
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            margin: 5px;
            padding: 1em 5em;
            transition: all .5s;
            text-decoration: none;
            color: #fff;
            border: none;
            border-radius: 5px;
            background-color: hsl(174, 100%, 29%);
            cursor: pointer;
        }
        .button:hover {
            background-color: hsl(174, 100%, 35%);
        }
    </style>
</head>
<body>
    <header>
        <h1 class="dlw-title">Textillate.js</h1>
        <p class="dlw-description">Textillate.js is a jQuery plugin that adds In / Out animation effects to text.</p>
    </header>
    <section>
        <h2 class="dlw-subtitle">[1] Default</h2>
        <p>For confirmation, Click the button to play again.</p>
        <script>
            $(function () {
                $('.text-1').textillate();

                // Click setting of play again                    
                $('.button').click(function () {
                    $('.text-1').textillate();
                    // Since there is no "Destroy", instead write it as shown below.
                    $('.text-1').textillate('in');
                });
            });
        </script>
        <p class="text-1">God is in the details.</p>
        <button class="button">Play</button>
    </section>
    <section>
        <h2 class="dlw-subtitle">[2] Loop Setting</h2>
        <p>When set to true, loop playback.<br>When set to loop, the out animation effect is executed.</p>
        <script>
            $(function () {
                $('.text-2').textillate({
                    loop: true
                });
            });
        </script>
        <p class="text-2">God is in the details.</p>
    </section>
    <section>
        <h2 class="dlw-subtitle">[3] Minimum Display Time</h2>
        <p>Sets the minimum display time for each text before it is replaced.</p>
        <script>
            $(function () {
                $('.text-3').textillate({
                    loop: true,
                    minDisplayTime: 5000
                });
            });
        </script>
        <p class="text-3">God is in the details.</p>
    </section>
    <section>
        <h2 class="dlw-subtitle">[4] Initial Delay</h2>
        <p>Sets the initial delay before starting the animation.</p>
        <script>
            $(function () {
                $('.text-4').textillate({
                    loop: true,
                    initialDelay: 1000
                });
            });
        </script>
        <p class="text-4">God is in the details.</p>
    </section>
    <section>
        <h2 class="dlw-subtitle">[5] In & Out animation effect settings 1</h2>
        <p>Change In and Out animation effects. Animation effects refer to <a href="https://designlink.work/animatecss/" target="_blank">Animate.css</a>.</p>
        <script>
            $(function () {
                $('.text-5').textillate({
                    loop: true,
                    // in animation settings
                    in: {
                        // effect name
                        effect: 'fadeInDown'
                    },
                    // out animation settings
                    out: {
                        effect: 'fadeOutDown'
                    }
                });
            });
        </script>
        <p class="text-5">God is in the details.</p>
    </section>
    <section>
        <h2 class="dlw-subtitle">[6] In & Out animation effect settings 2</h2>
        <p>Set animation of In and Out.</p>
        <script>
            $(function () {
                $('.text-6').textillate({
                    loop: true,
                    autoStart: true,
                    in: {
                        effect: 'fadeInDown',
                        // set the delay factor applied to each consecutive character
                        delayScale: 1.5,
                        // set the delay between each character
                        delay: 100,
                        // randomize the character sequence
                        shuffle: true
                    },
                    out: {
                        effect: 'fadeOutDown',
                        delayScale: 1.5,
                        delay: 100,
                        shuffle: true                            
                    }
                });
            });
        </script>
        <p class="text-6">God is in the details.</p>
    </section>
</body>
</html>

Comment

Search

Style Design
Text Style DesignCSS

Here, design samples of various effects to text are posted.

Headline (Heading) Style DesignCSS

The headline is the text indicating the nature of the article below it.
Here, design samples of headline using style sheets are posted.

OL (Ordered List) Style DesignCSS

The HTML <ol> element represents an ordered list of items.
Here, design samples of ol using style sheets are posted.

HR (Separator Line) Style DesignCSS

The HTML <hr> element represents a thematic break between paragraph-level elements.
Here, design samples of hr using style sheets are posted.

Box Shadow Style DesignCSS

The box-shadow CSS property is used to add shadow effects around an element's frame.
Here, design samples of box-shadow property using style sheets are posted.

Layout
How to specify a breakpoint and switch imagesJS

Using <picture> and srcset, it is a method of switching images according to screen size. It also corresponds to retina.
In this example, Picturefill is added for IE.

Grid LayoutCSS

Grid is the value of the CSS display property.
Here, layout samples of grid property are posted.

FlexCSS

Flex is the value of the CSS display property.

Link & Button
Bootstrap ButtonCSS

It is a standard button design of Bootstrap Framework.

Hover.cssCSS

Hover.css is a style-sheet collection of hover effects.

Button.cssCSS

Button.css is collection of CSS3 button animations.

Card
Bootstrap CardCSS

It is a standard Card design of Bootstrap Framework.

Text
Arctext.jsjQuery

Arctext.js is a jQuery plugin that causes a string to curve along a specified circle radius.

Lettering.jsjQuery

Lettering.js is a jQuery plugin that encloses a specified character string with one character, one word, one column by <span> tag.

Textillate.jsjQuery

Textillate.js is a jQuery plugin that adds In / Out animation effects to text.

FitText.jsjQuery

FitText.js is jQuery plugin that fits the font size according to the width of the parent element.

Media
FeedEkjQuery

FeedEk is a jQuery plugin that parses RSS and Atom feeds and displays them.

YouTube Embed

Introduction of various embedment methods of YouTube.

FitVids.jsjQuery

FitVids is a jQuery plug-in that converts YouTube videos embedded with iframe into responsive.

xZoomjQuery

xZoom is a jQuery plug-in that shows a zoom preview of the image.
It is possible to customize the preview position and zoom.

Instagram.cssCSS

Instagram.css is a stylesheet set that filters photos like instagram.

Date
Moment.jsJS

Moment.js is a javascript that processes and displays date and time.

Bootstrap Material DatePickerjQuery

Bootstrap Material DatePicker is jQuery data picker plugin using Moment.js.

Table
MultifilterjQuery

Multifilter is jQuery Table Filtering Plugin.

Flex TableCSS

Responsive table using "display: flex;".
Not supported for rowspan.

Grid TableCSS

Responsive table using "display: grid;".
Not supported for rowspan.

Bootstrap TableCSS

It is a standard Table design of Bootstrap Framework.

Form
jQuery Mask PluginjQuery

jQuery Mask Plugin is jQuery plugin that make mask (validation) on form field.

Select2 #1. Basic SettingjQuery

Select2 is a jquery plugin that makes select form more advanced.
Here is the basic usage of Select2.

jQuery SearcherjQuery

jQuery Searcher is jQuery search/filtering plugin that supports various markups.

Slider
Bootstrap CarouseljQuery

It is a standard Carousel of Bootstrap Framework.

FlexSlider #1. Single SliderjQuery

FlexSlider is responsive jQuery slider plugin.
Here, basic single slider setting of Flexslider are posted.

FlexSlider #2. Carousel SliderjQuery

FlexSlider is responsive jQuery slider plugin.
Here, basic carousel slider setting of Flexslider are posted.

slick #1. Single SliderjQuery

slick is responsive jQuery slider plugin.
Here, basic single slider setting of slick are posted.

slick #2. Carousel SliderjQuery

slick is responsive jQuery slider plugin.
Here, carousel slider setting of slick are posted.

Lightbox
fancyBox #1. basic image lightboxjQuery

fancyBox is jQuery lightbox plugin.
Here, basic image lightbox setting of fancyBox are posted.

fancyBox #2. media lightboxjQuery

fancyBox is jQuery lightbox plugin.
Here, YouTube, Vimeo, Instagram, Google Maps, inline HTML, iframe lightbox setting of fancyBox are posted.

Magnific Popup #1. basic image lightboxjQuery

Magnific Popup is jQuery lightbox plugin.
Here, basic image lightbox setting of Magnific Popup are posted.

Magnific Popup #2. media lightboxjQuery

Magnific Popup is jQuery lightbox plugin.
Here, YouTube, Vimeo, Google Maps, inline HTML lightbox setting of Magnific Popup are posted.

Magnific Popup #3. CSS3-based animation effectsjQuery

Since Magnific Popup does not incorporate animation effects by standard, you need to set it yourself.
Here we summarize the CSS3-based animation settings.

Navigation
animsitionjQuery

animsition is a jQuery plugin that adds an in/out animation effect at the time of page transition.

GreedyNavjQuery

GreedyNav is a responsive navigation menu using jQuery which switches over the items that protruded when the screen was scaled down to dropdown.

GridTabjQuery

GridTab is a lightweight jQuery plugin to create grid based responsive tabs.

jQuery.NiceScrolljQuery

jQuery.NiceScroll is a jQuery plugin that extends scroll display and functions.

metisMenujQuery

metisMenu is a jQuery plugin that expands vertical and vertical menus.

fullPage.js #1. basic fullscreen scrollingjQuery

fullPage.js is jQuery Fullscreen Scrolling plugin.
Here, basic fullscreen scrolling of fullPage.js are posted.

fullPage.js #2. fullscreen scrolling with menujQuery

fullPage.js is jQuery Fullscreen Scrolling plugin.
Here, navigation menu is displayed..

Offside.js #1. Basic Off-canvasJS

Offside.js is a JavaScript kit that expands off-canvas.
This is a sample where the left side off-canvas expands.

Offside.js #2. Multiple Off-canvasJS

Offside.js is a JavaScript kit that expands off-canvas.
This is a sample that expands multiple off-canvases.

Filterizr #1. Basic FilteringjQuery

Filterizr is a jQuery plugin that sorts, shuffles, searches for the items in the container.
This is a basic sample without setting options.

Filterizr #2. Advanced FilteringjQuery

Filterizr is a jQuery plugin that sorts, shuffles, searches for the items in the container.
This is a sample of more advanced setting of Filterizr.

Animation
animsitionjQuery

animsition is a jQuery plugin that adds an in/out animation effect at the time of page transition.

Textillate.jsjQuery

Textillate.js is a jQuery plugin that adds In / Out animation effects to text.

ScrollajQuery

Scrolla is jQuery scroll animation plugin.

Hover.cssCSS

Hover.css is a style-sheet collection of hover effects.

Animate.cssCSS

Animate.css is a style-sheet collection of animation effects.

jQuery Easing PluginjQuery

jQuery Easing Plugin is a plugin to extend the easing (animation effect) of jQuery.
The easing of element is posted.

Background
fullPage.js #1. basic fullscreen scrollingjQuery

fullPage.js is jQuery Fullscreen Scrolling plugin.
Here, basic fullscreen scrolling of fullPage.js are posted.

fullPage.js #2. fullscreen scrolling with menujQuery

fullPage.js is jQuery Fullscreen Scrolling plugin.
Here, navigation menu is displayed..

jquery.mb.YTPlayerjQuery

jQuery.mb.YTPlayer is jQuery Background player plugin.

Modal / Tooltip
Hint.cssCSS

Hint.css is a style sheet set for tooltip.
You can display tooltip just by adding class name.

ProtipjQuery

Protip is a jQuery plugin that generates tooltips.
Set the position, size, etc. of the tooltip only with data attribute.

Social
Framework
Bootstrap CarouseljQuery

It is a standard Carousel of Bootstrap Framework.

Bootstrap CardCSS

It is a standard Card design of Bootstrap Framework.

Bootstrap ButtonCSS

It is a standard button design of Bootstrap Framework.

Bootstrap TableCSS

It is a standard Table design of Bootstrap Framework.

Cheat Sheet
HTML5 Cheat Sheet

HTML5 Cheat Sheet by Make A Website Hub

CSS3 Cheat Sheet

CSS3 Cheat Sheet by Smashing Magazine

Visual Studio Code Keyboard Shortcuts

This is the Visual Studio Code default keyboard shortcut list.

GreenSock Cheat Sheet

Cheese sheet of TweenMAX, TweenLite, TimelineLite, TimelineMax by GreenSock.

Other
Google Search

On this page you can search for codes collectively.

Design News

It is a news feed about design.