css : center element vertically and horizontally

CSS trans­form allows us to mod­ify the coor­di­nate space of any ele­ment. trans­form can have one of the fol­low­ing func­tions as its value : rotate skew scale matrix trans­late per­spec­tive Using the trans­late func­tion we…