Maybe there kinda is background-opacity?<\/a> by Chris Coyier<\/li>\n<\/ul>\n\n\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"
The\u00a0cross-fade()<\/code>\u00a0function lets you blend more than one image at a specified transparency value. <\/p>\n","protected":false},"author":288749,"featured_media":300990,"parent":380412,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-almanac-single.php","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","_share_on_mastodon":"0","_share_on_mastodon_status":"%title% %permalink%"},"tags":[585],"class_list":["post-389293","page","type-page","status-publish","has-post-thumbnail","hentry","tag-images"],"acf":{"almanac_experimental":"Yes","related_content":[199429,196143,14041,14031,305793,388574,388332],"show_toc":"Yes"},"share_on_mastodon":{"url":"","error":""},"jetpack-related-posts":[{"id":389984,"url":"https:\/\/css-tricks.com\/almanac\/functions\/o\/opacity\/","url_meta":{"origin":389293,"position":0},"title":"opacity()","author":"Gabriel Shoyombo","date":"November 18, 2025","format":false,"excerpt":"The CSS\u00a0opacity()\u00a0function applies a transparency filter to an element and its content. It is used with the\u00a0filter\u00a0property.","rel":"","context":"In \"filter\"","block_context":{"text":"filter","link":"https:\/\/css-tricks.com\/tag\/filter\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":333543,"url":"https:\/\/css-tricks.com\/almanac\/properties\/m\/mask\/mask-mode\/","url_meta":{"origin":389293,"position":1},"title":"mask-mode","author":"Mojtaba Seyedi","date":"February 3, 2021","format":false,"excerpt":"The mask-mode CSS property indicates whether the CSS mask layer image is treated as an alpha mask or a luminance mask. .element { mask-image: url(sun.svg); mask-mode: alpha; } Syntax mask-mode: alpha | luminance | match-source The property accepts one keyword value, or a comma-separated list of two or all three\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/01\/s_ADCFB9F0494AC50BE88B2195592C05580BDEAAC4ECC0BBBFE6BE461D40F61FF7_1611418470320_luminance-mask-2.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/01\/s_ADCFB9F0494AC50BE88B2195592C05580BDEAAC4ECC0BBBFE6BE461D40F61FF7_1611418470320_luminance-mask-2.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/01\/s_ADCFB9F0494AC50BE88B2195592C05580BDEAAC4ECC0BBBFE6BE461D40F61FF7_1611418470320_luminance-mask-2.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/01\/s_ADCFB9F0494AC50BE88B2195592C05580BDEAAC4ECC0BBBFE6BE461D40F61FF7_1611418470320_luminance-mask-2.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":383690,"url":"https:\/\/css-tricks.com\/almanac\/functions\/r\/rgb\/","url_meta":{"origin":389293,"position":2},"title":"rgb()","author":"Sunkanmi Fafowora","date":"January 28, 2025","format":false,"excerpt":"The CSS\u00a0rgb()\u00a0color function represents color in the sRGB color space specifying their redness (r), greenness (g), and blueness (b), and an optional transparency value.","rel":"","context":"In \"color\"","block_context":{"text":"color","link":"https:\/\/css-tricks.com\/tag\/color\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3268,"url":"https:\/\/css-tricks.com\/snippets\/jquery\/fade-image-into-another-image\/","url_meta":{"origin":389293,"position":3},"title":"Fade Image Into Another Image","author":"Chris Coyier","date":"August 7, 2009","format":false,"excerpt":"Make a div that is the exact size of the image. This div will have a background image applied to it of the second image. Then put an inline image inside it. Fading the inline image in and out will reveal\/hide the second (background) image. $(\"#kitten\").hover(function(){ $(this).find(\"img\").fadeOut(); }, function() {\u2026","rel":"","context":"In "Articles"","block_context":{"text":"Articles","link":"https:\/\/css-tricks.com\/category\/articles\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3898,"url":"https:\/\/css-tricks.com\/snippets\/jquery\/fade-one-image-to-another-menu\/","url_meta":{"origin":389293,"position":4},"title":"Fade One Image to Another Menu","author":"Chris Coyier","date":"September 6, 2009","format":false,"excerpt":"Make a CSS sprite image, with the top half and the bottom half being the two images you want to animate between. The jQuery adds a tag, and adds the bottom half of the sprite image as its background. As you hover on and off, the span animates between\u2026","rel":"","context":"In "Articles"","block_context":{"text":"Articles","link":"https:\/\/css-tricks.com\/category\/articles\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":386948,"url":"https:\/\/css-tricks.com\/almanac\/functions\/s\/scroll\/","url_meta":{"origin":389293,"position":5},"title":"scroll()","author":"Saleh Mubashar","date":"July 2, 2025","format":false,"excerpt":"The CSS scroll() function provides an anonymous scroll timeline when used as a value for the animation-timeline property. Instead of explicitly setting up and referencing a named timeline using scroll-timeline-name, the scroll() function handles it for you. You simply tell it which scroll container to track (called the \u201cscroller\u201d) and\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/12\/css-tricks-logo-gradient-outline.png?fit=1200%2C600&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/389293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/288749"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=389293"}],"version-history":[{"count":10,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/389293\/revisions"}],"predecessor-version":[{"id":389664,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/389293\/revisions\/389664"}],"up":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/380412"}],"acf:post":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/388332"},{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/388574"},{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/305793"},{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14031"},{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14041"},{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/196143"},{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/199429"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media\/300990"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=389293"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=389293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}