I'm working on a Web Design project using Bootstrap. Here is a snippet of my HTML code:
<div class="col utility_col">
<div class="row">
<div class="col vote_col">Vote</div>
<div class="col sign_col">
<img src="./img/sign_up.png">
Sign Up
</div>
<div class="col">Login</div>
</div>
</div>
Below, you can see a portion of my CSS code:
.sign_col {
display: flex;
align-items: center;
width: 127px;
}
However, I've encountered an issue where increasing the width of .sign_col
also increases the width of .vote_col
. How can I resolve this problem?
The current output of the design looks like this: