{"id":224,"date":"2017-01-31T22:15:42","date_gmt":"2017-01-31T22:15:42","guid":{"rendered":"http:\/\/tommustester.wpengine.com\/?page_id=224"},"modified":"2017-01-31T22:15:42","modified_gmt":"2017-01-31T22:15:42","slug":"scrims-overlays","status":"publish","type":"page","link":"https:\/\/psdev2.com\/blog\/elements\/scrims-overlays","title":{"rendered":"Elements &#8211; Scrims &#038; Overlays"},"content":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column][stack_hero image=&#8221;38&#8243;][vc_column_text]<\/p>\n<h1>Scrims &amp; Overlays<\/h1>\n<p class=\"lead\">These modular elements can be readily used and customized across pages and in different blocks.<\/p>\n<hr class=\"short\" \/>\n<p>Explore all of Stack&#8217;s modular elements<br \/>\nat the\u00a0<a href=\"\/elements\/\">Element Index Page \u2192<\/a>[\/vc_column_text][\/stack_hero][\/vc_column][\/vc_row][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text]<\/p>\n<h4>Overlays<\/h4>\n<p>Overlays are useful for ensuring that text overlaying an image will remain readable.<\/p>\n<p>Elements using an image background can be overlayed with a tint by adding the data attribute <strong>data-overlay=&#8221;#&#8221;<\/strong>. The strength of the tint can be controlled by assigning a number between 1 and 9 to the data attribute. 1 being a light tint, 9 being a heavy tint.[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;2\/12&#8243;][\/vc_column][vc_column width=&#8221;4\/12&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;imagebg&#8221; image=&#8221;227&#8243;][vc_column_text]<\/p>\n<h5>Modern Aesthetic<\/h5>\n<p>Build a beautifully performant site with Stack&#8217;s vast collection of modular elements.<\/p>\n<p><a class=\"btn btn--primary\" href=\"#\">Build Now<\/a>[\/vc_column_text][\/stack_boxed_content][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text]<\/p>\n<h4>Scrims<\/h4>\n<p>Similar to overlays, scrims add a gradient tint to the bottom or top of an element to ensure that overlaying text remains readable \u2014 without tinting the entire image.<\/p>\n<p>Elements using an image background can be scrimmed by adding the data attribute <strong>data-scrim-top=&#8221;#&#8221;<\/strong> or <strong>data-scrim-bottom=&#8221;#&#8221;<\/strong>. The strength of the scrim can be controlled by assigning a number between 1 and 9 to the data attribute. 1 being a light ting, 9 being a heavy scrim.<\/p>\n<p>[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;2\/12&#8243;][\/vc_column][vc_column width=&#8221;4\/12&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;imagebg&#8221; image=&#8221;228&#8243; scrim_top=&#8221;8&#8243;][vc_column_text]<\/p>\n<h5>Modern Aesthetic<\/h5>\n<p>Build a beautifully performant site with Stack&#8217;s vast collection of modular elements.<\/p>\n<p><a class=\"btn btn--primary\" href=\"#\">Build Now<\/a>[\/vc_column_text][\/stack_boxed_content][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;imagebg&#8221; image=&#8221;228&#8243; scrim_bottom=&#8221;9&#8243;][vc_column_text]<\/p>\n<h5>Modern Aesthetic<\/h5>\n<p>Build a beautifully performant site with Stack&#8217;s vast collection of modular elements.<\/p>\n<p><a class=\"btn btn--primary\" href=\"#\">Build Now<\/a>[\/vc_column_text][\/stack_boxed_content][\/vc_column][\/vc_row][\/vc_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column][stack_hero image=&#8221;38&#8243;][vc_column_text] Scrims &amp; Overlays These modular elements can be readily used and customized across pages and in different blocks. Explore all of Stack&#8217;s modular elements at the\u00a0Element Index Page \u2192[\/vc_column_text][\/stack_hero][\/vc_column][\/vc_row][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text] Overlays Overlays are useful for ensuring that text overlaying an image will remain readable. Elements using an [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages\/224"}],"collection":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/comments?post=224"}],"version-history":[{"count":0,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages\/224\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages\/33"}],"wp:attachment":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/media?parent=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}