xxxxxxxxxx
22
/* style.css */
/* from https://github.com/processing/p5.js/wiki/Positioning-your-canvas */
/* Only works on canvas not the HTML elements sliders/buttons/textboxes */
/* So don't use? */
/* . Anchor top-left so that the HTML buttons/sliders/textboxes are in the right spot. */
html, body {
height: 100%;
/* height: auto; */
}
body {
margin: 0;
display: flex;
/* This centers our sketch horizontally. */
justify-content: center;
/* justify-content: left; */
/* This centers our sketch vertically. */
align-items: center;
/* align-items: top; */
}