Add Parallax Effect to Background Image by Gutenberg Editor

Tento článek (nebo jeho část) je převzat z externího zdroje. Je tedy slušností jej uvést včetně případného autora.

From wordpress 5.0, new visual editor called Gutenberg Editor will be installed as default visual editor of wordpress. (It can be available by activating Gutenberg plugin in wordpress 4.9.) And it can make us add cover image block (background image block) from visual editor. Here, we will explain how to add parallax effect to background image added by Gutenberg.

Let’s see how it works on Codepen.

See the Pen Add Parallax Effect to Background Image Added by Gutenberg Editor of WordPress 5.0 by LeapIn (@LeapInCorp) on CodePen.light