Kevin Powell - CommunityKP-C
Kevin Powell - Community14mo ago
41 replies
Helgi

div question

can someone explain me how to do like that?
i just dont understand how i move this div text with white background to the right side.

can somebody explain me?
You dont need to write me solution, just explain the princple.

"img attached how it should look"

----------------
thats how my code looks rn

.vrsection{
width: 100%;
min-height: 100vh;
display: flex;
align-items: center;



padding-left: 100px;

}



.interaction_text h2{
font-size: 3rem;
line-height: 3rem;
text-transform: uppercase;
font-family: "Alata";
font-weight: 300;
letter-spacing: 0.3rem;
color: hsl(0, 0%, 0%);


}
.interaction_text{

text-wrap: wrap;

background-color: white;
width: 50%;



}
image.png
Was this page helpful?