<!DOCTYPE html><html><head><metacharset="utf-8"><title>CSS Background: background-repeat: background image space with position</title><linkrel="author"title="Ethan Lin"href="mailto:ethlin@mozilla.com"><linkrel="author"title="Mozilla"href="https://www.mozilla.org"><linkrel="help"href="https://www.w3.org/TR/css3-background/#background-repeat"><linkrel="match"href="background-repeat-space-1-ref.html"><metaname="assert"content="Test checks whether background-repeat: 'space' works correctly or not."><metaname="fuzzy"content="maxDifference=0-52; totalPixels=0-7950"><styletype="text/css">.outer{width:106px;height:106px;border:1pxsolidblack;background-image:url(support/aqua-yellow-32x32.png);background-position:15px15px;background-repeat:space;}.outer_gradient{width:106px;height:106px;border:1pxsolidblack;background-size:32px32px;background-image:linear-gradient(totopleft,red,green);background-position:15px15px;background-repeat:space;}</style></head><body><divclass="outer"></div><divclass="outer_gradient"></div></body></html>