gtk/tests/reftests/background-position.css
2012-03-17 05:13:22 +01:00

53 lines
632 B
CSS

@import "reset-to-defaults.css";
.button {
background-image: url("green-20x20.png");
background-repeat: no-repeat;
background-color: red;
}
.button#ref {
background-image: none;
background-color: green;
}
GtkWindow#ref {
background-color: red;
}
#a {
background-position: 50% 50%;
}
#b {
background-position: 0% 50%;
}
#c {
background-position: 0% 100%;
}
#d {
background-position: bottom right;
}
#e {
background-position: right top;
}
#f {
background-position: right;
}
#g {
background-position: 10px 10px;
}
#h {
background-position: -10px 10px;
}
#i {
background-position: 20px 20px;
}