Permalink
Browse files

Add list of common css abstractions (need to make something useful ou…

…t of it, like SaSS mixin)
  • Loading branch information...
Juriy Zaytsev
Juriy Zaytsev committed Jun 10, 2009
1 parent 889a60d commit 72c6d6dd664c0bc50b6352ff58c2267c8e2bb999
Showing with 18 additions and 1 deletion.
  1. +1 −1 README.rdoc
  2. +17 −0 css_abstractions.txt
View
@@ -1,6 +1,6 @@
= Description
-Protolicious is a set of javascript snippets based on prototype.js
+Protolicious is a set of javascript snippets based on prototype.js (and other random stuff)
= Contents
View
@@ -0,0 +1,17 @@
+// TODO: make a SaSS mixin out of this
+
+min-height: N; min-height: N; height: auto !important; height: N;
+min-width: N; min-width: N; width: auto !important; width: N;
+
+opacity: N; opacity: N; filter:alpha(opacity=N*100); -ms-filter: "alpha(opacity=N*100)"; -khtml-opacity: N; -moz-opacity: N;
+
+border-radius: N; border-radius: N; -moz-border-radius: N; -webkit-border-radius: N; -khtml-border-radius: N;
+
+border-top-left-radius: N; border-top-left-radius: N; -moz-border-radius-topleft: N; -webkit-border-top-left-radius: N; -khtml-border-top-left-radius: N;
+border-top-right-radius: N; border-top-right-radius: N; -moz-border-radius-topright: N; -webkit-border-top-right-radius: N; -khtml-border-top-right-radius: N;
+border-bottom-right-radius: N; border-bottom-right-radius: N; -moz-border-radius-bottomright: N; -webkit-border-bottom-right-radius: N; -khtml-border-bottom-right-radius: N;
+border-bottom-left-radius: N; border-bottom-left-radius: N; -moz-border-radius-bottomleft: N; -webkit-border-bottom-left-radius: N; -khtml-border-bottom-left-radius: N;
+
+box-shadow: N; box-shadow: N; -moz-box-shadow: N; -webkit-box-shadow: N; -khtml-box-shadow: N;
+
+user-select: N; user-select: N; -moz-user-select: N; -webkit-user-select: N; -khtml-user-select: N;

1 comment on commit 72c6d6d

@savetheclocktower

This comment has been minimized.

Show comment Hide comment
@savetheclocktower

savetheclocktower Jun 11, 2009

You should also look at eCSStender, Aaron Gustafson's unpronounceable endeavor to seamlessly support CSS features that "should" work by moving all the ugliness into JavaScript.

You should also look at eCSStender, Aaron Gustafson's unpronounceable endeavor to seamlessly support CSS features that "should" work by moving all the ugliness into JavaScript.

Please sign in to comment.