From d9d0609af4cb7f832932283a23009a108b58a761 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 28 Mar 2010 20:11:52 -0700 Subject: [PATCH] Fix the background image in the background-origin example. --- .../images/examples/css3/bg-origin/bg.png} | Bin .../compass/css3/background-origin/markup.haml | 6 +++--- .../compass/css3/background-origin/stylesheet.sass | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) rename doc-src/{content/examples/compass/css3/background-origin/background.png => assets/images/examples/css3/bg-origin/bg.png} (100%) diff --git a/doc-src/content/examples/compass/css3/background-origin/background.png b/doc-src/assets/images/examples/css3/bg-origin/bg.png similarity index 100% rename from doc-src/content/examples/compass/css3/background-origin/background.png rename to doc-src/assets/images/examples/css3/bg-origin/bg.png diff --git a/doc-src/content/examples/compass/css3/background-origin/markup.haml b/doc-src/content/examples/compass/css3/background-origin/markup.haml index a10a7fa4..a84aab09 100644 --- a/doc-src/content/examples/compass/css3/background-origin/markup.haml +++ b/doc-src/content/examples/compass/css3/background-origin/markup.haml @@ -1,7 +1,7 @@ .example - #padding-box(style="background-image: url(background/);") + #padding-box Padding Box - #border-box(style="background-image: url(background/);") + #border-box Border Box - #content-box(style="background-image: url(background/);") + #content-box Content Box \ No newline at end of file diff --git a/doc-src/content/examples/compass/css3/background-origin/stylesheet.sass b/doc-src/content/examples/compass/css3/background-origin/stylesheet.sass index 4a78efa8..82f95f46 100644 --- a/doc-src/content/examples/compass/css3/background-origin/stylesheet.sass +++ b/doc-src/content/examples/compass/css3/background-origin/stylesheet.sass @@ -4,6 +4,7 @@ padding: 2em div background: + image= image-url("examples/css3/bg-origin/bg.png") repeat: repeat position: top left border: 10px solid rgba(255, 0, 0, 0.5)