in the beginning when we start learning we usually use border, margin and padding
for moving elements. But there are others options like:
Position: relative, absolute, fixed...
Once you use a position property you can start using:
Left, Right, Top and Bottom
Example:
.miClass {
position:relative;
top: 200px;
}
I recommend you use them for learning, just learning because those aren't not quite useful, if you use them in all your elements it will probably be a bad idea.
Just play with those properties and also you could use: transform: translateX() translateY()
etc...
Once you get experience I recommend you start being a pro and use display:flex;
, and also you will need a correct html structure for making responsives designs and really pro things... It isn't easy to but believe me, once you get it you will fall in love.
Look to my reply in this post: How to Make Navigation Buttons Mobile-Responsive and Collapse in Order? Here I talk about "natural order" in CSS.
Recommendations:
- Learn by making fails.
- Learn how to use properly
%
instead of px
- Learn
display:flex
- Please Spanish question need to be in Stackoverflow in Spanish
- There a lot of tutorials where you can learn all these things
Good luck :)