To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I am trying to apply the following style to a Vaadin text field, which adds superscript text in an "::after" element:
content: "superscript text";
I can call "textField.addStyleName("myStyle")", and the style name shows up correctly in the DOM, but the ::after element is not displayed in the browser (and also not in the DOM view). Why?
... it's a problem of HTML: input components (such as text fields) do not support CSS ::after styles.