added example to demonstrate and test gradient mixin
This commit is contained in:
parent
a3b52a23ee
commit
8ddebad39d
6
examples/css3/config.rb
Normal file
6
examples/css3/config.rb
Normal 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
|
10
examples/css3/src/gradient.sass
Normal file
10
examples/css3/src/gradient.sass
Normal 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)
|
Loading…
Reference in New Issue
Block a user