I can't set this CSS class, the color instruction doesn't work, but the text-shadow does. Help me?
.jumbotron {
position: relative;
padding: 40px 0;
color: #6495ed;
text-align: center;
text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075);
}
I tried to delete the text-shadow, but it also didn't work.
Simply add the appropriate CSS selector and define the color property with the value you want. For example, say you want to change the color of all paragraphs on your site to navy. Then you'd add p {color: #000080; } to the head section of your HTML file.
Colors in CSS can be specified by the following methods: Hexadecimal colors. Hexadecimal colors with transparency. RGB colors.
Use !important
to override other color styling.
like: color: #6495ed !important
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With