Skip to content
New issue

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

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

Already on GitHub? # to your account

Add context as CSS class #191

Closed
Kikobeats opened this issue Jun 9, 2017 · 2 comments
Closed

Add context as CSS class #191

Kikobeats opened this issue Jun 9, 2017 · 2 comments

Comments

@Kikobeats
Copy link
Contributor

Kikobeats commented Jun 9, 2017

For example, If we are at the follow URL:

http://localhost:3000/#/number/parse-string

attach the path as css class in the body:

<body class="number-parse-string ready sticky" cz-shortcut-listen="true">
</body>

This make easy add custom CSS for specific sections

Also could be added as data-attribute:

<body class="ready sticky" data-page="parse-string" cz-shortcut-listen="true">
</body>

Related:

@Kikobeats
Copy link
Contributor Author

awesome!

@QingWei-Li
Copy link
Member

v4.1.14 is released.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants