{"id":52,"date":"2010-05-01T11:01:20","date_gmt":"2010-05-01T15:01:20","guid":{"rendered":"http:\/\/erics-test-lab.com\/?p=52"},"modified":"2010-05-01T11:01:20","modified_gmt":"2010-05-01T15:01:20","slug":"css3-the-vanishing-shadow","status":"publish","type":"post","link":"https:\/\/www.esearing.com\/v2010\/2010\/05\/css3-the-vanishing-shadow\/","title":{"rendered":"CSS3 &#8211; The vanishing shadow"},"content":{"rendered":"<p>Do you usually resort to Photoshop to create an image of text or object with a drop shadow, save it as a gif or png (and hope no-one is using IE6)? Or do you layer boxes within background boxes to create a shadow effect? Or even try to create shadows using border outset effects?(Yuck)<\/p>\n<p>CSS3 offers a couple of new tags that add shadows to boxes or text. This is supported in newer browsers so it is a good time to add to your arsenal.<\/p>\n<p><code>-moz-box-shadow: 5px 5px 5px #888;<br \/>\nbox-shadow:5px 5px 5px rgba(0,0,0,0.5);<br \/>\ntext-shadow:0 -1px 1px rgba(0,0,0,0.5);<br \/>\n\/* horizontal_offset verticle_offset, blur, color *\/<\/code><\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/en\/CSS\/-moz-box-shadow\">visit the developer page at mozilla for browser support info.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you usually resort to Photoshop to create an image of text or object with a drop shadow, save it as a gif or png (and hope no-one is using IE6)? Or do you layer boxes within background boxes to &hellip; <a href=\"https:\/\/www.esearing.com\/v2010\/2010\/05\/css3-the-vanishing-shadow\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,8,24],"tags":[],"class_list":["post-52","post","type-post","status-publish","format-standard","hentry","category-code","category-css","category-snippets-quick-code-tips-for-single-elements-attributes-or-details"],"_links":{"self":[{"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/posts\/52","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":0,"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/posts\/52\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/media?parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/categories?post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/tags?post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}