Skip to content

Instantly share code, notes, and snippets.

@db-pj
Created March 30, 2020 16:03
Show Gist options
  • Save db-pj/9b76aeb57017303a801a029681d60b63 to your computer and use it in GitHub Desktop.
Save db-pj/9b76aeb57017303a801a029681d60b63 to your computer and use it in GitHub Desktop.
.icon-page {background-image: url('/wp-content/themes/mt-desktop/public/images/_sprites/_credit-cards/sprite.@2x.png');background-size: 350px 288px;display: inline-block;}
.s-icon-0-apr:hover, .icon-hover:hover .s-icon-0-apr {width: 70px;height:72px;background-position: -0px -0px;}
.s-icon-0-apr {width: 70px;height:72px;background-position: -70px -0px;}
.s-icon-balance-transfer:hover, .icon-hover:hover .s-icon-balance-transfer {width: 70px;height:72px;background-position: -140px -0px;}
.s-icon-balance-transfer {width: 70px;height:72px;background-position: -0px -72px;}
.s-icon-best-overall:hover, .icon-hover:hover .s-icon-best-overall {width: 70px;height:72px;background-position: -70px -72px;}
.s-icon-best-overall {width: 70px;height:72px;background-position: -140px -72px;}
.s-icon-business:hover, .icon-hover:hover .s-icon-business {width: 70px;height:72px;background-position: -210px -0px;}
.s-icon-business {width: 70px;height:72px;background-position: -210px -72px;}
.s-icon-cash-back:hover, .icon-hover:hover .s-icon-cash-back {width: 70px;height:72px;background-position: -0px -144px;}
.s-icon-cash-back {width: 70px;height:72px;background-position: -70px -144px;}
.s-icon-rewards:hover, .icon-hover:hover .s-icon-rewards {width: 70px;height:72px;background-position: -140px -144px;}
.s-icon-rewards {width: 70px;height:72px;background-position: -210px -144px;}
.s-icon-student:hover, .icon-hover:hover .s-icon-student {width: 70px;height:72px;background-position: -280px -0px;}
.s-icon-student {width: 70px;height:72px;background-position: -280px -72px;}
.s-icon-travel:hover, .icon-hover:hover .s-icon-travel {width: 70px;height:72px;background-position: -280px -144px;}
.s-icon-travel {width: 70px;height:72px;background-position: -0px -216px;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment