My ionic/angular app generates a custom tag
element with a unique _ngcontent
attribute on each refresh, like so:
<tag _ngcontent-hgr-c2>...</tag> (1st refresh)
<tag _ngcontent-agj-c7>...</tag> (2nd refresh)
<tag _ngcontent-cfx-c5>...</tag> (3rd refresh)
Is there a way to use regex to target these custom tag attributes?
I tried the following without success:
tag[^=_ngcontent-] {
color: red !important;
}
I also attempted to just target the tag itself like this:
tag {
color: red !important;
}