]> Pileus Git - ~andy/gtk/commitdiff
gtk-demo: Beautify a demo
authorBenjamin Otte <otte@redhat.com>
Mon, 1 Oct 2012 14:06:33 +0000 (16:06 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 1 Oct 2012 14:06:33 +0000 (16:06 +0200)
Use auto for the background size instead of 100% to avoid uglyfying the
background byt blurring it when the window gets larger.

demos/gtk-demo/css_pixbufs.css

index 793e2b68311b693bd9d4598e76727dafb73fbbfc..8eb21d664f9d2bfe516374a6196f0cbb5fbe0aa1 100644 (file)
@@ -46,8 +46,8 @@
 }
 
 @keyframes size-the-image {
-    0% { background-size: 96px, 12px, 96px, 12px, 96px, 12px, 96px, 12px, 100% }
-    100% { background-size: 12px, 96px, 12px, 96px, 12px, 96px, 12px, 96px, 100% }
+    0% { background-size: 96px, 12px, 96px, 12px, 96px, 12px, 96px, 12px, auto }
+    100% { background-size: 12px, 96px, 12px, 96px, 12px, 96px, 12px, 96px, auto }
 }
 
 GtkWindow {