sgmbr / annes-project

A repository for Anne's project
0 stars 0 forks source link

Fix Flip and Memory to support mobile #36

Closed sgmbr closed 7 years ago

sgmbr commented 7 years ago

Additional requirements:

sgmbr commented 7 years ago

It uses Bootstrap. .col-xs- applies to <768px, and the longer side of phones are all less than this, so it can't be changed between portrait and landscape using Bootstrap. A downside of using Bootstrap: less flexible. It is okay as long as a website fits what Bootstrap provides, but when you want more control it's useless.

sgmbr commented 7 years ago

Vertically centering https://css-tricks.com/centering-css-complete-guide/

sgmbr commented 7 years ago

Creating custom col http://stackoverflow.com/questions/28750907/how-to-customize-bootstrap-column-widths

sgmbr commented 7 years ago

.col-xxs-6 { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; }

@media screen and (max-width: 560px) { .col-xxs-6 { float: left; width: 50%; } }

sgmbr commented 7 years ago

Couldn't find a way to do