I created an application, namely UWP in Visual Studio 2015 based on HTML / CSS / JS, which adds 2 to the number that you entered at the touch of a button, and wanted to attach a picture to it as a background. Background set in CSS.
background: url(/images/kartinka.jpg) no-repeat; background-size: 100%; But the picture when stretching becomes ugly and I want to make it so that the window can not be stretched.
For example, this happens - when stretching along the "y" axis, the picture does not drag.
But it is necessary to make it so that the window does not stretch at all. 
This is how the window looks when stretched.
Thanks to those who helped with the organization of the issue.
