I've found a solution until this issue is fixed: Set the display value to block , then use the :is pseudo class to alter the style on build.
In the example below, the div.flexBox style initially displays as a block in Flare. At Build/Preview, div.flexBox:is(div.flexBox) changes the display value ...
Search found 2 matches
- Thu Nov 07, 2024 2:16 pm
- Forum: Styles, Stylesheets and XML
- Topic: CSS in Flare shows Flex property as invalid
- Replies: 12
- Views: 31994
- Tue Sep 24, 2024 8:57 am
- Forum: Styles, Stylesheets and XML
- Topic: Flare Injecting Code Into CSS ":is" Function
- Replies: 2
- Views: 14865
Flare Injecting Code Into CSS ":is" Function
While using the :is psuedo-class function, Flare is injecting unwanted code during the HTML5 build process.
Here's the rule in the CSS file before building the target:
:is(.Note, .Important, .LearnMore, .Warning, .Tip, .FeatureFlag) > span.Inline-Code
↑ This rule functions without issue when ...
Here's the rule in the CSS file before building the target:
:is(.Note, .Important, .LearnMore, .Warning, .Tip, .FeatureFlag) > span.Inline-Code
↑ This rule functions without issue when ...