Hi guys, I would like to go from de first picture to the second :

Post image

Here is the code :

.espace-nouvelles{
position: absolute;
width: 1200px;
height: 500px;
background-color: lightblue;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
left: 0;
right: 0;
border-radius: 10px;
z-index: 1; }

.backgroundt{
position: fixed;
width: 1200px;
height: 100%;
background:white ;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
z-index: 0;
border-radius: 10px;
}

.style-article{
position: relative;
z-index: 1;
text-align: justify
}

Finally, I want the text to be aligned at the left of the blue background (in it).

Thank you very much

Reset60



Source link

Write A Comment