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

Seems that not treat well comments in css between /* ... */ #312

Open
yourchoice opened this issue May 2, 2022 · 0 comments
Open

Seems that not treat well comments in css between /* ... */ #312

yourchoice opened this issue May 2, 2022 · 0 comments

Comments

@yourchoice
Copy link

Invalid property name '/* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition /

Example photoswipe.css

/* style is added when JS option showHideOpacity is set to true */
.pswp--animate_opacity {
  /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
  opacity: 0.001;
  will-change: opacity;
  /* for open/close transition */
  -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
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

1 participant