+ 1
What is the difference between using margins and position property in order to distribute html elements ?
I learnt html and css , I know how to use position property and margins to locate an html element in the page , but is any differences between these two css properties ? I want an example of a case in which should I use position instead of margin or the opposite !
4 Respostas
+ 5
use margins to create space around elements use position for positioning your element
+ 5
Hassan Sahlaoui your welcome good luck 😉👍
+ 2
Thank you brother , any advices I want to improve my skills more and more ?
+ 1
Thank you for your quick answer D_Stark !