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

CSS universal selector is too aggressive #8

Open
red-meadow opened this issue Oct 16, 2021 · 1 comment
Open

CSS universal selector is too aggressive #8

red-meadow opened this issue Oct 16, 2021 · 1 comment

Comments

@red-meadow
Copy link

Hi. Thank you for the great work!

This CSS rule seems to be too aggressive and affects other parts of the page:

* {
  padding: 0;
  margin: 0;
  top: 0;
  left: 0;
}

In my case it broke the positioning of the element with position: absolute and right: 0.

@Beuf
Copy link

Beuf commented Dec 3, 2021

I guess you are right (also about the great work) and this could be changed to #main
BTW you may not need it at all, it is just for the nice looking full-page demo.

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

No branches or pull requests

2 participants