Using Gutenberg. Is there a way to apply CSS to an element only while editing?

[ad_1]

Quick example of what I mean:
While editing I would like all spacers to have a background colour, but, when the page is viewed normally spacers should be transparent as normal.

[ad_2]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer