body {
background: #E2E2E2 url("/-/img/bg.jpg") repeat -20% -146px;
color: #45445d;
color: rgba(0, 0, 0, 0.7);
font: normal 100%/1.5 Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
}
This is a code snippet from robot-or-not.com ...featured in an article called ..Responsive Webdesign. I have two questions about the CSS in the article.
If I want to use em's across a site I understand that I need a base font size and then work out the em by TARGET SIZE / BASE SIZE = EM. Do I need then to set the base font size in "PX" in the body first and in the code above what does font: 100%/1.5 mean?
My second question is about the background property.. what does repeat "-20% -146px;" this mean/do? I know about repeat:no-repeat and repeat-y, repeat-x but have never used % or PX for this..