html - Scale Background only in width -
i want background scale in width not in height.
i got following code now.
background: url(images/background.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; with code backgroundimage scales whole thing want scale in width. have solution?
greetings
instead of cover, can try this.
background-size: 100% $image_height; where $image_height height of background working with.
Comments
Post a Comment