You can remove this margin by setting the top and left margin to zero. Like the margin and border, the sizes of specific sides of the margin can be set utilizing margin-left , margin-right , margin-top , and margin-buttom .
All the margin properties can have the following values:
length - indicates a margin in px, pt, cm, and so forth
% - indicates a margin in % of the width of the containing component
inherit - indicates that the margin should to be inherited from the parent component
Let's see an example
Try it here>