Reputation: 469
I have a background image that has a large blue diagonal across the back where we want some of our content to line up with.
I am having issues keeping the content inline as it resizes, though (the background diagonal gets bigger or smaller, making the alignment off).
Current css:
background: url('../../../img/bg.png') center no-repeat;
background-size: cover;
What might I need to keep the aspect ratio the same regardless of resize?
https://jsfiddle.net/wb166bdo/11/
Upvotes: 0
Views: 345