{"id":145,"date":"2009-04-22T15:41:27","date_gmt":"2009-04-22T12:41:27","guid":{"rendered":"http:\/\/www.held.org.il\/blog\/?p=145"},"modified":"2009-04-22T15:41:27","modified_gmt":"2009-04-22T12:41:27","slug":"weird-css-tricks","status":"publish","type":"post","link":"http:\/\/www.held.org.il\/blog\/2009\/04\/weird-css-tricks\/","title":{"rendered":"Weird CSS tricks"},"content":{"rendered":"<p>I was quite surprised to find out these two interesting css \"tricks\":<\/p>\n<ul>\n<li><a href=\"http:\/\/www.phpied.com\/data-urls-what-are-they-and-how-to-use\/\">Data urls:<\/a> putting the data inside the CSS (inline).<\/li>\n<li><a href=\"http:\/\/css-tricks.com\/css-sprites\/\">CSS sprites:<\/a> instead of loading many small images (one per item), it's possible to load one big image that contains them all.. then play with the offsets to get the right image.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I was quite surprised to find out these two interesting css &#8220;tricks&#8221;: Data urls: putting the data inside the CSS (inline). CSS sprites: instead of loading many small images (one per item), it&#8217;s possible to load one big image that contains them all.. then play with the offsets to get the right image.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[30,198,202],"_links":{"self":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/145"}],"collection":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":0,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/145\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/media?parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/categories?post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/tags?post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}