{"id":7304,"date":"2024-01-16T16:59:00","date_gmt":"2024-01-16T16:59:00","guid":{"rendered":"https:\/\/codehim.com\/?p=7304"},"modified":"2024-01-22T15:01:33","modified_gmt":"2024-01-22T10:01:33","slug":"css-split-card-hover-overlay-effect","status":"publish","type":"post","link":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/","title":{"rendered":"CSS Split Card Hover Overlay Effect"},"content":{"rendered":"<p>This CSS code snippet helps you to create card split overlay effect on hover. Basically, it uses <a href=\"https:\/\/splitting.js.org\/guide.html#using-a-cdn\" target=\"_blank\" rel=\"noopener\">splitting jQuery plugin<\/a> to create an animated text overlay over the card element with a smooth transition.<\/p>\n<p>You can use this effect on cards, sliding elements or posts grid to show the summary over the images on hover.<\/p>\n<h2>How to Create CSS Split Card Hover Overlay Effect<\/h2>\n<p>1. First of all, load the Normalize and Google Fonts CSS into the head tag of your HTML document.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/normalize\/5.0.0\/normalize.min.css\"&gt;\r\n&lt;link rel='stylesheet' href='https:\/\/fonts.googleapis.com\/css2?family=Open+Sans:wght@300;400;500;600;700;800&amp;amp;display=swap'&gt;<\/pre>\n<p>2. After that, create the HTML structure for the cards as follows:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;main id=\"main\"&gt;\r\n  &lt;h1&gt;Card Split Hovers&lt;\/h1&gt;\r\n  &lt;div class=\"card\"&gt;&lt;img src=\"https:\/\/images.unsplash.com\/photo-1535498730771-e735b998cd64?ixlib=rb-1.2.1&amp;amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;amp;auto=format&amp;amp;fit=crop&amp;amp;w=687&amp;amp;q=80\" alt=\"A City skyline at sunset\"\/&gt;\r\n    &lt;div class=\"text\"&gt;\r\n      &lt;h2 data-splitting=\"\"&gt;The City&lt;\/h2&gt;\r\n      &lt;p data-splitting=\"\"&gt;Lorem ipsum dolor sit amet consectetur adipisicing elit. Dignissimos excepturi nostrum necessitatibus doloremque? Quasi non molestias odio.  Quasi non molestias odio.&lt;\/p&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"card\"&gt;&lt;img src=\"https:\/\/images.unsplash.com\/photo-1586500036706-41963de24d8b?ixlib=rb-1.2.1&amp;amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;amp;auto=format&amp;amp;fit=crop&amp;amp;w=687&amp;amp;q=80\" alt=\"A City skyline at sunset\"\/&gt;\r\n    &lt;div class=\"text\"&gt;\r\n      &lt;h2 data-splitting=\"\"&gt;The Beach&lt;\/h2&gt;\r\n      &lt;p data-splitting=\"\"&gt; Quasi non molestias odio. Lorem ipsum dolor sit amet consectetur adipisicing elit. Dignissimos excepturi nostrum necessitatibus doloremque? Quasi non molestias odio.&lt;\/p&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/main&gt; \r\n<\/pre>\n<p>3. Now, style the cards using the following CSS:<\/p>\n<pre class=\"prettyprint linenums lang-css\">:root {\r\n  --cover-timing: 0.5s;\r\n  --cover-ease: cubic-bezier(0.66, 0.08, 0.19, 0.97);\r\n  --cover-stagger: 0.15s;\r\n  --text-timing: .75s;\r\n  --text-stagger: 0.015s;\r\n  --text-ease: cubic-bezier(0.38, 0.26, 0.05, 1.07);\r\n  --title-stagger: 0.05s;\r\n  --highlight: white;\r\n}\r\n\r\n.card {\r\n  position: relative;\r\n  overflow: hidden;\r\n  aspect-ratio: 9\/12;\r\n  display: flex;\r\n  flex-direction: column;\r\n  border-radius: 7px;\r\n  box-shadow: rgba(255, 255, 255, 0.3) 0 5vw 6vw -8vw, rgba(255, 255, 255, 0) 0 4.5vw 5vw -6vw, rgba(50, 50, 80, 0.5) 0px 4vw 8vw -2vw, rgba(0, 0, 0, 0.8) 0px 4vw 5vw -3vw;\r\n  transition: box-shadow 1s var(--cover-ease);\r\n}\r\n.card &gt; * {\r\n  z-index: 2;\r\n}\r\n.card &gt; img {\r\n  z-index: 0;\r\n  transition: all 0.8s cubic-bezier(0.66, 0.08, 0.19, 0.97);\r\n}\r\n.card::before, .card::after {\r\n  content: \"\";\r\n  width: 100%;\r\n  height: 50%;\r\n  top: 0;\r\n  left: 0;\r\n  background: rgba(0, 0, 0, 0.5);\r\n  position: absolute;\r\n  transform-origin: left;\r\n  transform: scaleX(0);\r\n  transition: all var(--cover-timing) var(--cover-ease);\r\n  z-index: 1;\r\n}\r\n.card::after {\r\n  transition-delay: var(--cover-stagger);\r\n  top: 50%;\r\n}\r\n.card:hover {\r\n  box-shadow: white 0 5vw 6vw -9vw, var(--highlight) 0 5.5vw 5vw -7.5vw, rgba(50, 50, 80, 0.5) 0px 4vw 8vw -2vw, rgba(0, 0, 0, 0.8) 0px 4vw 5vw -3vw;\r\n}\r\n.card:hover::before, .card:hover::after {\r\n  transform: scaleX(1);\r\n}\r\n.card:hover h2 .char, .card:hover p .word {\r\n  opacity: 1;\r\n  transform: translateY(0);\r\n  color: inherit;\r\n}\r\n.card:hover h2 .char {\r\n  transition-delay: calc(0.1s + var(--char-index) * var(--title-stagger));\r\n}\r\n.card:hover p .word {\r\n  transition-delay: calc(0.1s + var(--word-index) * var(--text-stagger));\r\n}\r\n.card:hover img {\r\n  transform: scale(1.1);\r\n}\r\n.card:nth-of-type(1) {\r\n  --highlight: coral;\r\n}\r\n.card:nth-of-type(2) {\r\n  --highlight: #56ffe5;\r\n}\r\n\r\n.text {\r\n  position: absolute;\r\n  inset: 20px;\r\n  top: auto;\r\n}\r\n\r\nh2 {\r\n  font-size: 30px;\r\n  font-size: clamp(20px, 4vw, 40px);\r\n  font-weight: 800;\r\n  margin-bottom: 0.2em;\r\n}\r\n\r\np {\r\n  font-size: 12px;\r\n  font-size: clamp(10px, 1.25vw, 14px);\r\n  line-height: 1.4;\r\n  text-align: justify;\r\n  margin-top: 0.2em;\r\n  margin-bottom: 0;\r\n}\r\n\r\nh2 .char,\r\np .word {\r\n  color: var(--highlight);\r\n  display: inline-block;\r\n  opacity: 0;\r\n  position: relative;\r\n  transform: translateY(20px);\r\n  transition-property: transform, opacity, color;\r\n  transition-timing-function: var(--text-ease);\r\n  transition-duration: var(--text-timing), var(--text-timing), calc(var(--text-timing)*2);\r\n}\r\n\r\nimg {\r\n  position: absolute;\r\n  inset: 0;\r\n  width: 100%;\r\n  height: 100%;\r\n  -o-object-fit: cover;\r\n     object-fit: cover;\r\n  border-radius: 7px;\r\n}\r\n\r\n.cd__main main {\r\n  grid-template-columns: 1fr;\r\n  grid-template-rows: 60px;\r\n  grid-gap: 2em;\r\n}\r\n@media screen and (min-width: 600px) {\r\n .cd__main main {\r\n    grid-template-columns: 1fr 1fr;\r\n    grid-template-rows: -webkit-min-content 1fr;\r\n    grid-template-rows: min-content 1fr;\r\n  }\r\n}\r\n\r\n.card {\r\n  width: 90vw;\r\n  max-width: 300px;\r\n}\r\n@media screen and (min-width: 600px) {\r\n  .card {\r\n    width: 40vw;\r\n  }\r\n}\r\n\r\nh1 {\r\n  color: #5b6377;\r\n  font-weight: 100;\r\n}\r\n@media screen and (min-width: 600px) {\r\n  h1 {\r\n    grid-column: 1\/3;\r\n  }\r\n}\r\n\r\n.cd__main main {\r\n  display: grid;\r\n  place-items: center;\r\n  min-height: 600px;\r\n}\r\n\r\nbody, html {\r\n  color: white;\r\n  background: #333844;\r\n  padding: 0;\r\n  margin: 0;\r\n  min-height: 100vh;\r\n  font-family: \"Open Sans\", sans-serif;\r\n}\r\n\r\nbody {\r\n  padding: 1em 0 3em;\r\n  min-height: calc(100vh - 4em);\r\n}<\/pre>\n<p>4. Load the jQuery and splitting JS after the HTML structure.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;script src='https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery\/3.6.0\/jquery.min.js'&gt;&lt;\/script&gt;\r\n&lt;script src='https:\/\/unpkg.com\/splitting\/dist\/splitting.min.js'&gt;&lt;\/script&gt;\r\n<\/pre>\n<p>5. Finally, initialize the plugin to activate the splitting effect.<\/p>\n<pre class=\"prettyprint linenums lang-js\">Splitting();<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully created split card overlay animation. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This CSS code snippet helps you to create card split overlay effect on hover. Basically, it uses splitting jQuery plugin&#8230;<\/p>\n","protected":false},"author":1,"featured_media":7309,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[63],"tags":[],"class_list":["post-7304","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5-css3"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CSS Split Card Hover Overlay Effect &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a CSS snippet to create split card overlay effect on hover. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS Split Card Hover Overlay Effect &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a CSS snippet to create split card overlay effect on hover. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-16T16:59:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T10:01:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/09\/css-split-card-hover-overlay-effect.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"CSS Split Card Hover Overlay Effect\",\"datePublished\":\"2024-01-16T16:59:00+00:00\",\"dateModified\":\"2024-01-22T10:01:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/\"},\"wordCount\":150,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/09\/css-split-card-hover-overlay-effect.png\",\"articleSection\":[\"HTML5 &amp; CSS3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/\",\"url\":\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/\",\"name\":\"CSS Split Card Hover Overlay Effect &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/09\/css-split-card-hover-overlay-effect.png\",\"datePublished\":\"2024-01-16T16:59:00+00:00\",\"dateModified\":\"2024-01-22T10:01:33+00:00\",\"description\":\"Here is a CSS snippet to create split card overlay effect on hover. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/09\/css-split-card-hover-overlay-effect.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/09\/css-split-card-hover-overlay-effect.png\",\"width\":1280,\"height\":960,\"caption\":\"CSS Split Card Hover Overlay Effect\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML5 &amp; CSS3\",\"item\":\"https:\/\/codehim.com\/category\/html5-css3\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"CSS Split Card Hover Overlay Effect\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CSS Split Card Hover Overlay Effect &#8212; CodeHim","description":"Here is a CSS snippet to create split card overlay effect on hover. You can view demo and download the source code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/","og_locale":"en_US","og_type":"article","og_title":"CSS Split Card Hover Overlay Effect &#8212; CodeHim","og_description":"Here is a CSS snippet to create split card overlay effect on hover. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-16T16:59:00+00:00","article_modified_time":"2024-01-22T10:01:33+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/09\/css-split-card-hover-overlay-effect.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"CSS Split Card Hover Overlay Effect","datePublished":"2024-01-16T16:59:00+00:00","dateModified":"2024-01-22T10:01:33+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/"},"wordCount":150,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/09\/css-split-card-hover-overlay-effect.png","articleSection":["HTML5 &amp; CSS3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/","url":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/","name":"CSS Split Card Hover Overlay Effect &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/09\/css-split-card-hover-overlay-effect.png","datePublished":"2024-01-16T16:59:00+00:00","dateModified":"2024-01-22T10:01:33+00:00","description":"Here is a CSS snippet to create split card overlay effect on hover. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/09\/css-split-card-hover-overlay-effect.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/09\/css-split-card-hover-overlay-effect.png","width":1280,"height":960,"caption":"CSS Split Card Hover Overlay Effect"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/html5-css3\/css-split-card-hover-overlay-effect\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"HTML5 &amp; CSS3","item":"https:\/\/codehim.com\/category\/html5-css3\/"},{"@type":"ListItem","position":3,"name":"CSS Split Card Hover Overlay Effect"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":8648,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/7304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=7304"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/7304\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/7309"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=7304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=7304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=7304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}