mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 04:31:09 +00:00
2113a18a18
Have square images in the following sizes: * 20 * 100 * 150 * 200 * 300 and place them in a can-shrink Picture allocated at the sizes: * 200x100 * 100x200 and set align to center/center. That's 10 combinations and they should all do the right thing.
16 lines
239 B
CSS
16 lines
239 B
CSS
* {
|
|
all: unset;
|
|
background-color: mintcream;
|
|
}
|
|
|
|
picture {
|
|
background-color: firebrick;
|
|
}
|
|
|
|
#reference {
|
|
background-image: image(lime);
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: 100px 100px;
|
|
}
|