Question
Responsive background
- April 7, 2020
- 1 reply
- 1330 views
I'm having trouble getting the background on a 2D view to change size depending on screen orientation.
I have a grid layout with 3 rows, with the background applied to the 2nd row.
.row2 {
height: 80%;
background-color:#2e2d2c;
background-image: url(#{$resources}/Default/Background.jpg) !important;
background-repeat: no-repeat;
background-size: cover;
}
I think I need to include some flexbox and/or some positioning values to the rows, but not too sure.

