From 8ddebad39d696b110ea70aa2a8ac7721c4693dd9 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Sat, 21 Nov 2009 14:50:42 -0600 Subject: [PATCH] added example to demonstrate and test gradient mixin --- examples/css3/config.rb | 6 ++++++ examples/css3/src/gradient.sass | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 examples/css3/config.rb create mode 100644 examples/css3/src/gradient.sass diff --git a/examples/css3/config.rb b/examples/css3/config.rb new file mode 100644 index 00000000..cba98086 --- /dev/null +++ b/examples/css3/config.rb @@ -0,0 +1,6 @@ +# Require any additional compass plugins here. +project_type = :stand_alone +css_dir = "stylesheets" +sass_dir = "src" +images_dir = "images" +relative_assets = true diff --git a/examples/css3/src/gradient.sass b/examples/css3/src/gradient.sass new file mode 100644 index 00000000..75a5b8d2 --- /dev/null +++ b/examples/css3/src/gradient.sass @@ -0,0 +1,10 @@ +@import compass/css3/gradient.sass + +div + width: 200px + height: 100px + border: 1px solid #777 +.linear + +v-gradient(#fff, #aaa, color_stop(50%, #ccc, 50%, #bbb)) +.radial + +radial-gradient("45 45, 10, 52 50, 30", Cyan, DodgerBlue) \ No newline at end of file