diff --git a/demo/css/demo.css b/demo/css/demo.css index 46fc18a..0ff9fbd 100644 --- a/demo/css/demo.css +++ b/demo/css/demo.css @@ -91,4 +91,23 @@ input[type="text"] { pre { margin: 10px 0 0 0; -} \ No newline at end of file +} + +#orig, #redu { + background-image: + -moz-linear-gradient(45deg, #000 25%, transparent 25%), + -moz-linear-gradient(-45deg, #000 25%, transparent 25%), + -moz-linear-gradient(45deg, transparent 75%, #000 75%), + -moz-linear-gradient(-45deg, transparent 75%, #000 75%); + background-image: + -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, #000), color-stop(.25, transparent)), + -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, #000), color-stop(.25, transparent)), + -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.75, transparent), color-stop(.75, #000)), + -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.75, transparent), color-stop(.75, #000)); + + -moz-background-size:20px 20px; + background-size:20px 20px; + -webkit-background-size:20px 21px; /* override value for shitty webkit */ + + background-position:0 0, 10px 0, 10px -10px, 0px 10px; +} diff --git a/demo/index.html b/demo/index.html index b3acd9a..b41649d 100644 --- a/demo/index.html +++ b/demo/index.html @@ -7,7 +7,7 @@ - + @@ -94,6 +94,43 @@