Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Repeat Background x and y not working

$
0
0

Hello All;
have the following image.

grass2.png

 

I need to tile this image inside of a div.

If I use the following code, it stretches the image, not repeating.

 

sym.$('Rectangle3').css({"background-image":"url(images/grass2.png)","background-repeat":" repeat-y repeat-x", "height":"200px", "Width":"200px"});

 

So.

My question is, HOW?

How can you repeat the image?

 

 

Thanks


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>