Blend Modes Typography

HTML
<div class="clouds"></div> <div class="content-container"> <h1>Blend Modes</h1> </div>
SCSS
@import url("https://fonts.googleapis.com/css?family=Montserrat"); @keyframes clouds { 0% { background-position: 0 0, 0 -5000px; } 50% { background-position: 0 -5000px, 0 0; } 100% { background-position: 0 0, 0 -5000px; } } * { box-sizing: border-box; padding: 0; margin: 0; outline: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: rgba(0,0,0,0); } html { height: 100vh; } body { font-family: "Montserrat", sans-serif; text-align: center; background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/242518/photo-1470792961295-2d2ac78e6bcb.jpeg") no-repeat center top; background-size: cover; } .clouds { position: absolute; width: 100vw; height: 100vh; background: url(http://ryanaltvater.com/img/bkgd-fog-1.png), url(http://ryanaltvater.com/img/bkgd-fog-2.png); animation: clouds 120s linear infinite; } .content-container { position: absolute; display: flex; width: 100vw; height: 100vh; justify-content: center; h1 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 10vw; line-height: 0.9; color: #ff3800; transition: all 0.25s; align-self: center; mix-blend-mode: multiply; } }
JAVASCRIPT
Expand for more options Login