what is CSS code or png
.megaphone {width:50px; height:50px; background:url(images/sprite.png) 0 0px;}. The above CSS code is saying the width and height of the megaphone image (50px by 50px) it is also calling the image sprite.png which is our combined image.ince we defined the width and height of the image in the CSS, the image will only display 50 pixels down the image (where the megaphone is) and will stop, thereby not displaying the smiley face at all. Now let's do the smiley face and see how that changes our code.