mercredi 4 octobre 2017

Difference between margin and position

actually I am beginner in web design and I took the concepts of margin and position properties in css.

So, my question is I can change the position of an element using css properties (position, top and left and so on). But also I realized that by increasing the margins and padding, I can also change the position of an element. But is this way good?

Or just there are different ways to change the position of elements? Which one is better?




Aucun commentaire:

Enregistrer un commentaire