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

first example - h1 text not visible due to css #122

Open
iqzas opened this issue Dec 12, 2020 · 1 comment
Open

first example - h1 text not visible due to css #122

iqzas opened this issue Dec 12, 2020 · 1 comment

Comments

@iqzas
Copy link

iqzas commented Dec 12, 2020

The Adopt me h1 example in first react code example is not showing the h1 text.. it always shows Adopt me image...

image

@charleskyalo
Copy link

solveTextintent.mp4

@iqzas Your h1 text does not appear due to styles applied by the attached styles sheets.

The specific CSS property styling the h1 tag which causes your text to disappear is the text-indent property.
The -9999px value pushes the text far left of the browser window. You cannot even see it.

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