As part of the front-end engineering team in eDreams ODIGEO we are always looking for improvement, but what is also very important for us is not to forget about the basics.
Let’s briefly overview some useful knowledge about CSS and hopefully, we will understand better each property.

Photo by Stefan Gall on Unsplash

1. Margin and padding

Margin is a property used to create some space outside your element, paddings are also used to create space, but this time is inside your element.
To decide which property to use you must ask yourself if you need space from all other elements (margin) or if you need to add space in…

Rodolfo Martins

Software Engineer, traveller and enthusiast cook.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store