diff options
author | B Mathis <brandon@imathis.com> | 2009-10-18 20:10:45 -0500 |
---|---|---|
committer | B Mathis <brandon@imathis.com> | 2009-10-18 20:10:45 -0500 |
commit | d8d51719fb2ec7cb2ee70dab4665c74baa0fb783 (patch) | |
tree | 1a3ba6a62eaa3c0d5b3bc8d5bcf5447ecd9335ec /source/stylesheets/library/_gradient.sass | |
parent | 82d0251da120186c27791b7c073aa103d73c2b31 (diff) | |
download | my_new_personal_website-d8d51719fb2ec7cb2ee70dab4665c74baa0fb783.tar.xz my_new_personal_website-d8d51719fb2ec7cb2ee70dab4665c74baa0fb783.zip |
added compass, added some basic stylesheets
Diffstat (limited to 'source/stylesheets/library/_gradient.sass')
-rw-r--r-- | source/stylesheets/library/_gradient.sass | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/stylesheets/library/_gradient.sass b/source/stylesheets/library/_gradient.sass new file mode 100644 index 00000000..31c498e0 --- /dev/null +++ b/source/stylesheets/library/_gradient.sass @@ -0,0 +1,15 @@ +=linear-gradient(!from_coord, !to_coord, !color_start, !color_end, !color_stop1 = 0, !color_stop1_pos = .3, !color_stop_2 = 0, !color_stop2_pos = .9) + !gradient = "#{!from_coord}, #{!to_coord}, from(#{!color_start}), to(#{!color_end})" + //@if !color_stop1 != 0 + // !gradient += "color-stop(#{!color_stop1_pos}, #{!color_stop1})" + background= "-webkit-gradient(linear, #{!gradient})" + background= "-moz-linear-gradient(#{!gradient})" + +=h-linear-gradient(!color1, !color2) + +linear-gradient("left top", "left bottom", !color1, !color2) + +=v-linear-gradient(!color1, !color2) + +linear-gradient("left top", "right top", !color1, !color2) + +//=h-three-color-gradient(!color1, !color2, !color3, !color3_pos = .5) +// +linear-gradient("left top", "left bottom", !color1, !color2, !color3, !color3_pos)
\ No newline at end of file |