2
Good morning, I am no expert on this and I am tired of looking for a solution to counter the skew given to the main container. Basically all the solutions that I have been able to understand so far do not solve.
The elements on top of the image I managed through css to make the skew Transform contrary to the main container and everything was ok, but I can not do the same to the background image that is being called in control (since this does not have a direct path, it has a relationship with folders to which it will fetch this image).
ASP.NET
divBedroomContainer.Attributes.Add("style", "background-image: url(" + trimmedFolder + trimmedBedroom + ".jpg)");
CSS
.Bedrooms {
-webkit-backface-visibility: hidden;
-webkit-transform: skewY(-2.7deg);
transform: skewY(-2.7deg);
outline: 1px solid transparent;
}
.BedroomContainer {
float: left;
width: 33.3334%;
background-repeat: no-repeat;
background-size: cover;
position: relative;
height: 400px;
text-align: center;
overflow: hidden;
}
Hello Mojo good morning, welcome to Stackoverflow. Post the css code of the part that has had difficulties, if I can help I will certainly help, if not the other one that could help you. I recommend a read on tour to understand a little more how things work around here.
– Marconi
Hello Marconi, thanks for the help, I will consult as soon as I can. .
– MoJo