gtk/testsuite/reftests/background-position.css
Benjamin Otte f6757e0c0c reftests: Fix up for easy CSS changes
This is mostly search and replace ala
  GtkButton => button
  GtkWindow => window
  .button => button
or removing style properties that aren't used anymore like
  -GtkButton-default-border: 0
2016-01-18 05:05:35 +01:00

53 lines
626 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: lime;
}
window#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;
}