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

Fix the frame that is always on top on the black side #8

Open
jrocha-dev opened this issue Jun 14, 2019 · 1 comment
Open

Fix the frame that is always on top on the black side #8

jrocha-dev opened this issue Jun 14, 2019 · 1 comment

Comments

@jrocha-dev
Copy link

Good day! In both code that is in this repository and in the codepen, one of the frames on the side of the black always ends on top. When you turn on the borders, so does a group of frames on the white side (the frames whose contents are the column indicating letters). To fix this problem, we should simply add the line

z-index: -1;

at line 102 of the styles.css file, as a property of the selectors

#board: after, #frame: after, #frame: before.

@jrocha-dev
Copy link
Author

Sorry, i forgot: for the group of frames on the white side, we need to add 'z-index: 3;' in .piece (line 225).

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

1 participant