Issue #2211Opened August 22, 2019by abozhinov0 reactions

[QUESTIONS] How to set style for pseudo elements (:after and :before)

Question

Hi, I add STATE in style manager :before and :after but all the styles are applied to the component.

Answers (3)

artfAugust 26, 20190 reactions

Do you mean during the editing? Do you see it good if you deselect the component?

abozhinovAugust 26, 20190 reactions

Yes during the editing. My idea was to implement the pseudo elements. When you select component to select state like hover, but to be :after or :before. The problem is that I need to set content: '' in the css rule and all the styles are applied on the main element.

artfAugust 27, 20190 reactions

Ok but is it correct once you deselect the component?

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.