Today i learned how to do margins with CSS.
this is an example of an margin element. first element (30px) is for height and second element (20px) is for horizontal distance apart.
In this example of code we can see that width between the margins has already been set in the line above so all you would need to to do is set height (0px) and the width to auto causing it to read the line above.
Here is just a quick recap of all the code i did today.
No comments:
Post a Comment