My site has to be responsive and I'm supposed to build it "mobile-first". It's a one page site and each section is divided by an svg image.
So far I've gotten it the width resize perfectly by using background-size:cover;
but a small part at the bottom of the image gets cut off. I've tried adjusting the height (auto, 100%, random pixel value) but that doesn't seem to do anything :/
Any ideas?
#breakpink{
background-image: url(../images/break_pink.svg);
background-repeat: no-repeat;
background-size: cover;
height: 100%;
text-indent: -9999px;
}
Full code:
` tag (with a set `line-height` maybe)? This issue could be caused by `
` tag's `margin` and/or its `line-height`
– Vereos Dec 13 '13 at 11:55