css - Scale svg background image discarding aspect ratio -


i have svg image scale, when scale it keeps aspect ratio bottom or top part of image cut off, there can fills page , doesn't keep it's aspect ratio?

this using:

body {     background-image: url(/bg.svg);     background-repeat: no-repeat;     background-size: cover;     background-position: top center; } 

i not sure if has effect on anything, have in html well

<meta name="viewport" content="width=device-width, initial-scale=1.0"> 


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -