Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add background-size function.

  • Loading branch information...
commit 7ab2bb806e5aba632e21b4fe4806b799cc8915a9 1 parent 3e76e82
@smeranda authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 wdn/templates_3.1/less/_mixins/css3.less
View
12 wdn/templates_3.1/less/_mixins/css3.less
@@ -143,6 +143,18 @@
background-clip: @r;
}
+// background size
+.background-size(@arguments) {
+ .background-size(@arguments, @arguments);
+}
+
+.background-size(@x, @y) {
+ -moz-background-size: @x @y;
+ -o-background-size: @x @y;
+ -webkit-background-size: @x @y;
+ background-size: @x @y;
+}
+
//transitions
.transition(@none)
{
Please sign in to comment.
Something went wrong with that request. Please try again.