how to add css to Edge


howdy

 

ea 1.0

 

i'm looking site show different ways 1 can add css object in edge.

 

found code on 1 site...

 

sym.$(manone).css({"width":"275", "height":"280"});

 

found code on another...

 

sym.$(manone).css({"width", 275});

 

commas...no commas...add colon...no colon...

 

what standard way expressing css code in actions panel. specifically, i'm looking scale object's x & y, love know common language adding css edge looks like.

 

thanks,

 

k

there 2 ways:

one value

1

sym.$('text").css('width',800);

2

sym.$('text").css({'width':800});

 

more 1 value

1

sym.$('text").css('width',800).css('eight',200);

2

sym.$('text").css({'width':800, 'height':200});

 

note can use value 200 without quotations or '200px' quotations.

 

 

to scale:

 

sym.$('rectangle').css('transform', 'scale(2,4)');

 

or

 

sym.$('rectangle').css({'transform': 'scale(2,4)');



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?