Without using !important

(Artem Fedorov) #1

Is there a way to change background-color (for example) of Rectangle from external css without using !important for property?

(Hans-Gerd Claßen) #2

check off “protect from external styles” within documentpanel

(Artem Fedorov) #3

ok, but can you check what do I make wrong?
test.hype.zip (7.5 KB)

(Hans-Gerd Claßen) #4

sry, if the styleproperty is already set within hype you’ll have to add !important.
if a styleproperty is not set you can change it with css without …

you can always change styleproperties with js.