- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi I am trying make sure my text has contrast and to use white text with a red shadow.
http://codepen.io/mwbcomputers/pen/xFEzp not sure how to do it properly can do boxes ok just not text
`text-shadow` ?
https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow
Try this:
.price {
font-weight: bold;
color: #EC2324;
font-size: 60px;
padding-bottom: 0px;
margin-bottom: 0px;
text-align: center;
font-family: ‘soft_sugar_plainregular’;
padding-top: 4px;
text-shadow:2px 2px 2px #FFF;
}
@mwbcomputers It might be helpful if you elaborate.
Are you referring to the following? Although, I don’t really think this looks good.
@gcyrillus That’s true. I was referring to the color choices, though.
Please feel free to take my Example.
[http://codepen.io/shixnxgai/pen/zctAj](http://codepen.io/shixnxgai/pen/zctAj “http://codepen.io/shixnxgai/pen/zctAj”)
Thanks all. going to try different background yellow to bright