vertical align css

/* Answer to: "css vertical align middle" */

/*
  Go to: https://www.w3schools.com/css/css_align.asp
  Here you can learn many ways to align horizontal and vertically!
  My favourite method is below:
*/

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  border: 3px solid green;
}/* this will center all children within the parent element. */
.parent {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center; /* vertical */
}.top-align {
	vertical-align: top;
}  

.center-align {
  	vertical-align: middle;
}.center {
  padding: 70px 0;
  border: 3px solid 
green;
  text-align: center;

} .container{
  display: table;
}

.div-inside-container{
  display: table-cell;
  vertical-align: middle;
}    img.a {
  vertical-align: baseline;
}

img.b {
  vertical-align: text-top;
}

img.c {

      
    vertical-align: text-bottom;
}

img.d {
  
    vertical-align: sub;
}

img.e {
  vertical-align: super;
}