Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 27 additions & 26 deletions css/place-kitty.css
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
/* Select the image with a class of kitty-1 */
write-your-selector-here {
position: absolute;
z-index: 1;
top: 276px;
left: 129px;
.kitty-1 {
position: absolute;
z-index: 1;
top: 276px;
left: 129px;
}

/* Select the image with id of kitty-2 */
write-your-selector-here {
position: absolute;
z-index: 2;
top: 212px;
left: 369px;
#kitty-2 {
position: absolute;
z-index: 2;
top: 212px;
left: 369px;
}

/* Select the image inside the element with an id of basket (using its descendent relationship) */
write-your-selector-here {
position: absolute;
z-index: 5;
top: 291px;
left: 319px;
#basket img {
position: absolute;
z-index: 5;
top: 291px;
left: 319px;
}

/* Select the image based on it being a sibling that follows immediately after the element with an id of ball (using adjacent sibling selector) */
write-your-selector-here {
position: absolute;
z-index: 4;
top: 260px;
left: 455px;
#ball + img {
position: absolute;
z-index: 4;
top: 260px;
left: 455px;
}

/* Select the image that has an alt attribute value matching "Kitty 5" (using attribute selector) */
write-your-selector-here {
position: absolute;
z-index: 3;
top: 217px;
left: 223px;
/* Select the image that has an attribute value matching "Kitty 5" (using attribute selector) */
img[alt="Kitty 5"] {
position: absolute;
z-index: 3;
top: 217px;
left: 223px;
}