1
Good afternoon I have a problem in my layout, svg is in the footer position and I can’t remove the blank at the bottom of the page. I tried on the body I don’t think it’s his property.
<svg class="absolute rodape-bg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 100 100" preserveAspectRatio="none">
<polygon fill="#545353" points="0,100 100,0 100,100"/> </svg>
.absolute{
position: absolute;
}
.rodape-bg{
clear: both;
position: inherit;
}
svg {
position: absolute;
z-index: 2;
bottom: 0;
width: 100%;
height: 30vw;
-webkit-transform: rotate(18.3deg);
transform: rotate(18.3deg);
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
}
I edited @sam, thank you.
– Fernando Santana