- 1

how do i make my margin-left responsive

I wanna learn how to make my margin-left responsive, i want the margin-left to reduce by 1px if the screen size increases by 2px.

17th May 2022, 3:20 AM
Victorr
Victorr - avatar
5 Réponses
+ 2
I think for making margin left responsive use auto Margin-left : auto;
17th May 2022, 6:33 AM
Gayatri Dunakhe
Gayatri Dunakhe - avatar
+ 2
Ok try some bootstrap for responsiveness
17th May 2022, 11:43 AM
Gayatri Dunakhe
Gayatri Dunakhe - avatar
0
Why would you want to do that?
17th May 2022, 6:18 AM
Chris Coder
Chris Coder - avatar
0
auto didn't work
17th May 2022, 9:09 AM
Victorr
Victorr - avatar
0
i wanna do it cause i want the site I'm building to be responsive
17th May 2022, 9:10 AM
Victorr
Victorr - avatar