=== Animated Blocks ===
Contributors: virgildia
Donate link: http://virgiliudiaconu.com/
Tags: gutenberg, blocks, animation, css animations, css3, editor
Requires at least: 4.9.5
Tested up to: 5.2.3
Requires PHP: 5.6+
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html


== Description ==

Add scroll-based CSS3 animations to Gutenberg blocks. 

See how it works: [video demo](https://youtu.be/HItcFIDQ0yE)
 

= Features =

 - Choose from 76 cross-browser CSS3 animations or add your own
 - Preview animations in the editor
 - Adjust the animation delay, scroll threshold, and visibility of blocks
 - Based on Gutenberg's InnerBlocks component

= Settings =

 - Delay: How many milliseconds to wait before animating the element.
 - Threshold: Add animation when x% of the element enters the screen.
 - Hide First: Set the element to opacity 0 when the page loads. The option works for elements transitioning to 100% opacity through CSS.
 - Class name "ab-end" is automatically added to elements when a CSS animation has completed. This can be used for extra customization. 

== Requirements ==

PHP 5.6+ is recommended, WordPress 5.0+, and Gutenberg must be active.

== Documentation ==

Select Animated Block from the Layout Elements group and add any content blocks within it. Select an animation from the dropdown list or add your own custom CSS class. The selected animation or custom CSS class will be added to the block when the user scrolls to it.

Animated Block is a parent block (a container), nesting as many blocks as you want. 

== Screenshots ==

1. Animation Settings in the block inspector
2. Animation list
2. Block

== Frequently Asked Questions ==

= Installation =

Go to your WordPress Admin -> Plugins -> Add New. Search for Gutenberg Animated Blocks. Install and Activate. You can also download this folder and add it into your plugins directory. 

"Animated Block" will be added to your blocks in the Layout Elements group. 
 
= What is Gutenberg? =
 
"Gutenberg" is the name of the project to create a new editor experience for WordPress. The goal is to create a new post and page editing experience that makes it easy for anyone to create rich post layouts.


== Changelog ==

= 1.0.0 =
First release of the plugin.

= 1.0.3 =
Animation settings in individual blocks by extending the block API is no longer supported in the plugin. The InnerBlocks component was implemented, enabling nested block content and more flexibility. Select "Animated Block" from the "Layout Elements" group and add whatever content blocks you'd like. Select Animated Block to see animation settings. 

= 1.0.4 =
Updated enqueue function to work on WordPress 5.0

= 1.0.5 =
Updated/fixed animation previews in the editor. 
Class "ab-end" is now added to elements when a CSS animation is completed.