As of right now all I want to do is change the color of my <p>
paragraphs and for some reason in CSS it won't let me or it's not allowing it.
<body>
<div class="con"> <!--where you want the image/text-->
<h1 class="colors">why build muscle?</h1> <!--color/text/height etc-->
</div>
<p class="pj">
<ul>
<li>You are healthier, and you'll live longer.</li>
<li>Keeps that heart pumping, your mind is clearer.</li>
<li>you have to drink water and it rids of toxins in the body.</li>
<li>You will become stronger over time.</li>
<li>More self confidence as you enjoy the way you look more.</li>
<li>Meet and socialize with people in the gym and learn new things.</li>
<li>It will make you hotter and appeal to more people physically.</li>
</ul>
</p>
And in CSS I have:
.colors {
background: linear-gradient(90deg, rgba(255,184,115,0.65)
0%,rgba(255,124,189,0.65) 50%,rgba(108,0,153,0.65) 100%);
border-radius: 50px;
color: #fff;
font-size: 15px;
letter-spacing: 12px;
padding: 16px 20px;
text-decoration: none;
text-transform: uppercase;
}
.pj {
color: blue;
}
.con,
.con1,
.con2,
.con3,
.con4 {
display: flex;
}
I don't know if it's because my paragraphs are below a <div>
or what.
This is what it looks like https://s29.postimg.org/ehfu3kxxz/themspot.png https://s29.postimg.org/ndqm7iok7/themsspot2.png