diff --git a/css/place-kitty.css b/css/place-kitty.css index 451c2a1ac..047429045 100644 --- a/css/place-kitty.css +++ b/css/place-kitty.css @@ -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; } +