More specifically, is it possible to scale a tiled background image using CSS3’s transform:scale(x,y)?
More specifically, is it possible to scale a tiled background image using CSS3’s transform:scale(x,y)
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
While you can’t use transform:scale(), if you know the final size of the background image that you need, you can you can use background-size to get the same effect.
However, if you always want to, say, “double” the width of the image that you use as a background, then that doesn’t seem to be possible at this time.
EDIT: Note that while the background-size style supports % based parameters, it’s not as a percentage of the image size, but the size of the window.