background-position funkcia nikak ne mogu ispravit,vse koordinati nepravilniy pomogite
pojaluysta…
html, body {
margin: 0;
padding: 0;
}
.block {
width: 300px;
height: 300px;
background: #3498db;
}
.bg {
background:
url("/assets/course13/cat_fish_128.png") no-repeat 52% 84% ,
url("/assets/course13/cat_grumpy_128.png") no-repeat 6% 70%,
url("/assets/course13/cat_drunk_128.png") no-repeat 90% 72%,
url("/assets/course13/cat_walk_128.png") no-repeat 45% 44%,
url("/assets/course13/cat_academy.png") no-repeat 40% 10%,
url("/assets/course13/star.png") repeat-x 0% 96% ,
url("/assets/course13/star.png") repeat-x 0% 4% ;
height: 300px;
}
/*
Адреса картинок:
/assets/course13/cat_fish_128.png
/assets/course13/cat_grumpy_128.png
/assets/course13/cat_drunk_128.png
/assets/course13/cat_walk_128.png
/assets/course13/cat_academy.png
/assets/course13/star.png
Подсказка:
Все координаты (background-position) кратны либо 5, либо 10
*/