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

Add size argument for split background #168

Merged
merged 3 commits into from
Jun 3, 2019
Merged

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Jun 2, 2019

Added size argument for split background. Marpit will be able to specify split size for background by percentage like ![bg left:33%]().

By this change, Marpit style for advanced background requires browser's CSS Custom Properties (CSS variables) support.

Closes #166.

ToDo

  • Add documentation

@yhatt yhatt merged commit 19235e2 into master Jun 3, 2019
@yhatt yhatt deleted the split-background-size branch June 17, 2019 10:01
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

Successfully merging this pull request may close these issues.

Add percentage of 'right' or 'left' to bg image directive
1 participant