{"id":278,"date":"2012-10-17T16:20:35","date_gmt":"2012-10-17T16:20:35","guid":{"rendered":"http:\/\/scunster.co.uk\/?p=278"},"modified":"2012-11-25T20:00:20","modified_gmt":"2012-11-25T20:00:20","slug":"css-text-shadow","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=278","title":{"rendered":"CSS Text Shadow"},"content":{"rendered":"<p>Code and values for using css text shadows to make your fonts stand out<!--more--><\/p>\n<p><strong>Regular text shadow:<\/strong><\/p>\n<p><code>p { text-shadow: 1px 1px 1px #000; }<\/code><\/p>\n<p><strong>Multiple shadows:<\/strong><\/p>\n<p><code>p { text-shadow: 1px 1px 1px #000, 3px 3px 5px blue; }<\/code><\/p>\n<p>The first two values specify the length of the shadow offset.<br \/>\nThe first value specifies the horizontal distance and the second specifies<br \/>\nthe vertical distance<\/p>\n<p>two values ends up with placing the shadow to the right of the text horizontally (first value) and placing the shadow below the text vertically (second value).<\/p>\n<p>The third value, the blur radius, is an optional value which can be specified but don\u2019t have to. It\u2019s the amount of pixels the text is stretched which causes a blur effect. If you don\u2019t use the third value it is treated as if you specified a blur radius of zero.<\/p>\n<p><strong>Also<\/strong>, remember you can use RGBA values for the color, for example, a 40% transparency of white:<\/p>\n<p><code>p { text-shadow: 0px 2px 2px rgba(255, 255, 255, 0.4); }<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Code and values for using css text shadows to make your fonts stand out<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[162],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-css"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=278"}],"version-history":[{"count":6,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":441,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/278\/revisions\/441"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}