Skip to content

Fixed parallaxing performance issues on Chrome by changing .logo to p…#3

Merged
arguiot merged 1 commit intoarguiot:masterfrom
andrewbash:master
Oct 15, 2017
Merged

Fixed parallaxing performance issues on Chrome by changing .logo to p…#3
arguiot merged 1 commit intoarguiot:masterfrom
andrewbash:master

Conversation

@andrewbash
Copy link
Contributor

The logo parallax at the top of the docs page was really choppy on Chrome.
After some investigation I found that it was caused by .logo being assigned position:relative rather than position:fixed.

I changed that property, as well as the top property being animated in index.js to transform:translateY() as this is a bit lighter weight on the browser.

…osition:fixed, and making index.js animate .logo’s transform:translate, rather than top.
@arguiot arguiot merged commit c2cd457 into arguiot:master Oct 15, 2017
@arguiot
Copy link
Owner

arguiot commented Jan 18, 2020

@all-contributors please add @andrewbash for design

@allcontributors
Copy link
Contributor

@arguiot

I've put up a pull request to add @andrewbash! 🎉

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.

2 participants