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

Aspect fill hero background #15

Closed
wants to merge 1 commit into from

Conversation

cjwhitsitt
Copy link

Keep the aspect ratio of the hero background image

HeroBackground: {
backgroundImage: `url(${background})`,
backgroundSize: 'cover',
backgroundPosition: 'center',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If these are meant to always be size 'cover' and position 'center' then maybe this should be inside of the .intro class instead of inside of site configuration?

@cjwhitsitt
Copy link
Author

Changes made to master from another branch

@cjwhitsitt cjwhitsitt closed this Nov 24, 2023
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.

None yet

2 participants