Playing with text-shadow in CSS
Forked from Petia's Pen A nifty collection of CSS text effects.
A Pen by Caroline Artz on CodePen.
Playing with text-shadow in CSS
Forked from Petia's Pen A nifty collection of CSS text effects.
A Pen by Caroline Artz on CodePen.
| <body> | |
| <section id="effect3"> | |
| <div class="container"> | |
| <div class="row"> | |
| <div class="col-md-12 text-center"> | |
| <h1>3.And some outlines</h1> | |
| <h2>I like colour</h2> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| @import "bourbon"; | |
| body { | |
| background:#333; | |
| color:transparent; | |
| } | |
| h1 { | |
| margin:50px 0; | |
| font-family: 'Montserrat Alternates', sans-serif; | |
| color:#FFF; | |
| } | |
| header h1 { | |
| font-size:50px; | |
| } | |
| .titlebg { | |
| background:#444; | |
| width:100% | |
| } | |
| /* Text Effect Styles */ | |
| #effect3 { | |
| background:#333 | |
| } | |
| #effect3 h1 { | |
| color:#f1f1f1 | |
| } | |
| #effect3 h2 { | |
| font-size:130px; | |
| font-weight:bold; | |
| font-family: 'Playfair Display', serif; | |
| letter-spacing: 20px; | |
| padding:40px 0 80px; | |
| color:#333; | |
| text-shadow: 0.45rem -0.45rem rgba(178, 217, 35, 0.75), -0.45rem -0.45rem rgba(39, 172, 227, 0.75), 0 0.5rem rgba(255, 213, 25, 0.75); | |
| } |