{"id":281,"date":"2014-06-25T00:16:49","date_gmt":"2014-06-25T05:16:49","guid":{"rendered":"http:\/\/promincproductions.com\/blog\/?p=281"},"modified":"2014-08-14T17:47:58","modified_gmt":"2014-08-14T11:47:58","slug":"css-shadows","status":"publish","type":"post","link":"https:\/\/promincproductions.com\/blog\/css-shadows\/","title":{"rendered":"CSS Shadows"},"content":{"rendered":"<figure id=\"attachment_302\" aria-describedby=\"caption-attachment-302\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2014\/06\/CSS3-Shadows.png\" data-lasso-id=\"149\" data-rel=\"lightbox-gallery-uq9ollf5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" class=\"size-medium wp-image-302\" src=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2014\/06\/CSS3-Shadows-500x296.png\" alt=\"Adding CSS Shadows can add some great style to your website!\" width=\"500\" height=\"296\" \/><\/a><figcaption id=\"caption-attachment-302\" class=\"wp-caption-text\">Adding CSS Shadows can add some great style to your website!<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Coming from a graphic design and video production background, I&#8217;m used to using drop shadows and personally love them (despite the criticism they can get from some&#8230; \u00a0So the day I learned that you can do these in CSS, I about feel over! \u00a0How cool! \u00a0And when you are asked to do a design change, bam it&#8217;s done in the code, not re-editing countless images, hoping that your CDN and browsers don&#8217;t cache the image for too long, or maybe you should use a new name? \u00a0Too much headache.<\/p>\n<figure style=\"width: 510px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" src=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2014\/06\/innerinsetshadow-3.jpg\" alt=\"\" width=\"510\" height=\"340\" \/><figcaption class=\"wp-caption-text\">Courtesy of http:\/\/designshack.net\/<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>Anyway, I wanted to post just a few cool resources for CSS shadows. \u00a0I&#8217;m not the expert and am not going to claim that I am, so just posting links to those who are true authorities on the subject.<\/p>\n<p>Keep in mind that CSS shadows are part of the CSS3 spec, so not all browsers will work with these, but thankfully all modern browsers are now compliant.<\/p>\n<p>One thing of note though, you&#8217;ll see some CSS properties have the -webkit- or -moz- prefixes. \u00a0These are actually legacy properties that support older Webkit (Chrome, Safari) or Mozilla (Firefox) browsers. \u00a0To ensure optimal browser compliance, I&#8217;d suggest using them still, but just saying technically they are going away &#8211; for some CSS properties at least. \u00a0Here is more info about that though from someone you knows more of what is going on than me.<\/p>\n<p><a href=\"http:\/\/css-tricks.com\/do-we-need-box-shadow-prefixes\/\" target=\"_blank\" data-lasso-id=\"150\" rel=\"noopener\">Do I need the moz and webkit css prefixes?<\/a><\/p>\n<h2>CSS Box Shadow<\/h2>\n<p><a href=\"http:\/\/caniuse.com\/css-boxshadow\" target=\"_blank\" data-lasso-id=\"151\" rel=\"noopener\">Browser Compatibility<\/a><\/p>\n<p><a href=\"http:\/\/css3gen.com\/box-shadow\/\" target=\"_blank\" data-lasso-id=\"152\" rel=\"noopener\">CSS Box Shadow Generator<\/a><\/p>\n<h2>CSS Text Shadow<\/h2>\n<p><a href=\"http:\/\/caniuse.com\/css-textshadow\" target=\"_blank\" data-lasso-id=\"153\" rel=\"noopener\">Browser Compatibility<\/a><\/p>\n<p><a href=\"http:\/\/css3gen.com\/text-shadow\/\" target=\"_blank\" data-lasso-id=\"154\" rel=\"noopener\">CSS Text Shadow Generator<\/a><\/p>\n<h2>CSS Inner Shadow<\/h2>\n<p><a href=\"http:\/\/designshack.net\/articles\/css\/inner-shadows-in-css-images-text-and-beyond\/\" target=\"_blank\" data-lasso-id=\"155\" rel=\"noopener\">CSS Inner Shadow Tutorials<\/a><\/p>\n<p><a href=\"http:\/\/designbystevie.com\/2011\/03\/applying-css3-inset-box-shadows-to-images\/\" target=\"_blank\" data-lasso-id=\"156\" rel=\"noopener\">Layering a CSS Inner Shadow over an Object like an Image<\/a><\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; Coming from a graphic design and video production background, I&#8217;m used to using drop shadows and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":306,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[48,5],"tags":[],"class_list":["post-281","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css","category-website-development"],"jetpack_featured_media_url":"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2014\/06\/CSS3-Shadows3.png","jetpack_shortlink":"https:\/\/wp.me\/p4BbcR-4x","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/comments?post=281"}],"version-history":[{"count":6,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/281\/revisions"}],"predecessor-version":[{"id":432,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/281\/revisions\/432"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media\/306"}],"wp:attachment":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media?parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/categories?post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/tags?post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}