steps()<\/code> on the Treehouse Blog<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"This article has been revised and re-written several times since its very first publication in 2007, to keep the information current. The most recent revision was done by Flip Stewart in January 2015. What are CSS Sprites? Spoiler alert: they aren’t fairies that write your stylesheets for you. I wish. In short: CSS Sprites are […]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[4],"tags":[],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":195227,"url":"https:\/\/css-tricks.com\/spriting-img\/","url_meta":{"origin":158,"position":0},"title":"Spriting with <img>","date":"February 6, 2015","format":false,"excerpt":"Sprites aren't limited to background-image, as with the object-fit and object-position properties we can nudge an inline image around its content-box to act just like a sprite. For example, let's say we want the image below to be added to our HTML page like a regular ol' image: Sprite Then\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":300115,"url":"https:\/\/css-tricks.com\/freak-flags\/","url_meta":{"origin":158,"position":1},"title":"Freak Flags","date":"December 11, 2019","format":false,"excerpt":"I don't see image sprites used that much anymore, but it's still a good technique for reducing downloaded decorative image assets when you have multiple on a page. The big idea is combining all the graphics into one and then shifting around the size and background-position to reveal one at\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/flag-sprite.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":165463,"url":"https:\/\/css-tricks.com\/svg-sprites-use-better-icon-fonts\/","url_meta":{"origin":158,"position":2},"title":"Icon System with SVG Sprites","date":"March 12, 2014","format":false,"excerpt":"I've been a big proponent of icon fonts. Lots of sites really need a system for icons, and icon fonts offer a damn fine system. However, I think assuming you're good with IE 9+, using inline SVG and the element to reference an icon is a superior system. First let's\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":187526,"url":"https:\/\/css-tricks.com\/svg-fragment-identifiers-work\/","url_meta":{"origin":158,"position":3},"title":"How SVG Fragment Identifiers Work","date":"November 3, 2014","format":false,"excerpt":"I've talked a good bit about SVG's around here and using it to build an icon system. The beauty of is that you can reference just a part of some SVG defined elsewhere and draw just that part somewhere else. That ability allows you to build a whole system out\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":152879,"url":"https:\/\/css-tricks.com\/interview-questions-css\/","url_meta":{"origin":158,"position":4},"title":"Interview Questions and Exercises About CSS","date":"October 14, 2013","format":false,"excerpt":"If you're in the position of needing to interview someone about their skill and knowledge about CSS, it can be a little hard to think of things to ask on-the-fly. I thought I'd think up and round up some ideas for reference. Exercises To Do Seeing people's actual work is\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/csstricks-uploads\/thebox.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4586,"url":"https:\/\/css-tricks.com\/holy-sprites\/","url_meta":{"origin":158,"position":5},"title":"Holy Sprites","date":"November 2, 2009","format":false,"excerpt":"Lots of folks joined in on the fun with the Show Off Your Sprites! contest. I used the ol' random number generator and came up with Lee Kowalkowski as the big winner, congrats Lee! Now let's take a look at some of the submissions. Looking at sprites I find strangely\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/csstricks-uploads\/dragon-sprite.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"featured_media_src_url":null,"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/158"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=158"}],"version-history":[{"count":34,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"predecessor-version":[{"id":256145,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/158\/revisions\/256145"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}