Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Center 'click for loud noises' div #31

Closed
wants to merge 1 commit into from
Closed

Conversation

MylesBorins
Copy link
Owner

@MylesBorins MylesBorins commented Aug 9, 2024

Related to #26

Center the "click for loud noises" div both horizontally and vertically using flexbox.

  • public/index.css

    • Remove margin-left: 12.5% and width: 75% from #start.
    • Add display: flex, justify-content: center, and align-items: center to #overlay.
  • public/index.html

    • Add style="height: 100vh;" to #overlay div.

For more details, open the Copilot Workspace session.

Related to #26

Center the "click for loud noises" div both horizontally and vertically using flexbox.

* **public/index.css**
  - Remove `margin-left: 12.5%` and `width: 75%` from `#start`.
  - Add `display: flex`, `justify-content: center`, and `align-items: center` to `#overlay`.

* **public/index.html**
  - Add `style="height: 100vh;"` to `#overlay` div.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/MylesBorins/myles.dev/issues/26?shareId=XXXX-XXXX-XXXX-XXXX).
@MylesBorins MylesBorins closed this Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants