Center div vertically and horizontally with CSS

Let’s say that we want to center a div inside our body element. Our code looks like this:

<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="/css/style.css">
        <h1 class="title">Hello You!</h1>


In CSS grid we can do something like this:

body {
   height: 100vh;
   display: grid;

This is nice and easy trick!

You can also read this

How to write middleware for Express.Js apps

Middleware functions are functions that have access to the request...

var logger = function (req, res, next) {

Bulker – Face recognition script

Imagine that we have thousands of images inside of a...

def get_ref_face(self, ref_image_path):