motherflux / motherflux.github.io

0 stars 0 forks source link

Answers to Questions in CSS file #3

Open mml1 opened 5 years ago

mml1 commented 5 years ago

https://github.com/motherflux/motherflux.github.io/blob/8c413cf4a3e90c11731a9848c22ea55c012c58c5/teacozy/resources/css/style.css#L29

This assignment preferred flex box.

https://github.com/motherflux/motherflux.github.io/blob/master/teacozy/resources/css/style.css#L58

Vertical centering is notoriously known for seeming simple to do but is actually not as straight forward. Check out https://stackoverflow.com/questions/12415661/using-marginauto-to-vertically-align-a-div for a detailed description as to why margin: auto auto; will not work.