The problem is whatever i`m trying to do, flexbox makes my text purple in button form. When i do button without flexbox everything goes perfect, white text.
HTML CODE BELOW :
<body><div class="container"><div class="button1"><a href="#">View course</a></div><div class="button2"><a href="#">View course</a></div><div class="button3"><a href="#">View course</a></div><div class="button4"><a href="#">View course</a></div><div class="button5"><a href="#">View course</a></div></div></body>CSS CODE BELOW :
.container { display: flex; flex-direction: column; justify-content: space-evenly; margin-left: -900px; align-items: center;}.container .button1 { color: antiquewhite; text-decoration: none; position: absolute; width: 130px; background: black; font-size: 20px; border-radius: 10px; text-align: center; padding: 10px;}Expected white text color.