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

transform: translateZ(20px) only activates when hover #51

Open
seppeclijsters opened this issue Jun 22, 2018 · 3 comments
Open

transform: translateZ(20px) only activates when hover #51

seppeclijsters opened this issue Jun 22, 2018 · 3 comments

Comments

@seppeclijsters
Copy link

seppeclijsters commented Jun 22, 2018

When I add 'transform: translateZ(20px)' to my inner elements, the elements will only popout when I hover it with my mouse. Is it possible to place the items correct when opening the website without having to hover it?

@jonasbieler
Copy link

Add transform: perspective(<<your perspective value>>); to the parent elment. The default value is 300px. The value in js must match the css value.

@pimpace
Copy link

pimpace commented Nov 11, 2018

Add transform: perspective(<<your perspective value>>); to the parent elment. The default value is 300px. The value in js must match the css value.

Sorry, this "trick" doesn't work...
Is there a way, that we can call an entry point as if we activate the hover event? Or does the reset method initialize the 3D maybe?

@kingsushi001
Copy link

Was this fixed or is there a workaround?

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

4 participants