So I have the following in my page:
and I'm trying to get both squares to be in the center of the outer div so i would get something like:
It's basically getting them centered vertically and horizontally, like in a flexbox where i can "justify-content:center" and "align-item:center".
How do i achieve something similar in this case?
html, body {
    height: 100%;
}
#outer {
    height: 20%;
    width: 30%;
    border: 1px solid black;
}
#sq1 {
    border: 1px solid black;
    height: 30%;
    width: 10%;
    background-color: blue;
}
#sq2 {
    border: 1px solid black;
    height: 30%;
    width: 10%;
    background-color: green;
}<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel = "stylesheet" href = "style.css">
    <title>Document</title>
</head>
<body>
    <div id = "outer">
        <div id = "sq1"></div>
        <div id = "sq2"></div>
    </div>
</body>
</html>

 
     
     
     
    