added example to demonstrate and test gradient mixin

This commit is contained in:
B Mathis 2009-11-21 14:50:42 -06:00
parent a3b52a23ee
commit 8ddebad39d
2 changed files with 16 additions and 0 deletions

6
examples/css3/config.rb Normal file
View File

@ -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

View File

@ -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)