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

Nav bar "color-on-scroll" W3 shows invalid code #63

Open
MeegB opened this issue Jun 10, 2020 · 1 comment
Open

Nav bar "color-on-scroll" W3 shows invalid code #63

MeegB opened this issue Jun 10, 2020 · 1 comment

Comments

@MeegB
Copy link

MeegB commented Jun 10, 2020

2020-06-10_15h45_51

For https://www.creative-tim.com/new-issue/now-ui-kit-pro

W3 Validator throws an error for the use of: color-on-scroll="500" saying "not allowed on this element"
<nav class="navbar navbar-expand-lg bg-white fixed-top " color-on-scroll="500">

How can we get around this error?

Thanks in advance. Megan

@dragosct
Copy link
Member

Hi, @MeegB! This attribute is there because it's easier to change the scroll distance from there, but you can remove it and the scroll distance will be the default one.

Regards,
Dragos

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