Learning about mix-blend-mode with the legendary Ryu Hayabusa
A Pen by Jarrod Thibodeau on CodePen.
| div#hadouken | |
| h1.text HADOUKEN! |
Learning about mix-blend-mode with the legendary Ryu Hayabusa
A Pen by Jarrod Thibodeau on CodePen.
| html { | |
| background: black; | |
| display: flex; | |
| justify-content: center; | |
| flex-flow: row nowrap; | |
| align-items: center; | |
| height: 100%; | |
| overflow: hidden; | |
| } | |
| body { | |
| background: black; | |
| } | |
| div { | |
| background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/394353/Ryu-SFA2-Shinkuu-Hadouken.gif') no-repeat; | |
| background-size: 100%; | |
| width: 500px; | |
| height: 300px; | |
| } | |
| .text { | |
| mix-blend-mode: multiply; | |
| color: gray; | |
| opacity: .75; | |
| position: relative; | |
| left: 250px; | |
| top: 70px; | |
| } |