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

The text of <li class="fragment"> temporarily loses its CSS style #3624

Open
ChoCho66 opened this issue May 8, 2024 · 0 comments
Open

The text of <li class="fragment"> temporarily loses its CSS style #3624

ChoCho66 opened this issue May 8, 2024 · 0 comments

Comments

@ChoCho66
Copy link

ChoCho66 commented May 8, 2024

As title, when <li class="fragment">(previous level) becomes <li class="fragment visible current-fragment">, the text of <li class="fragment"> temporarily loses its CSS style.

Below is a video of this situation.

2024-05-08.14.26.31.mov

I use quarto to generate revealjs

A small sample of qmd is

---
title: "Test"
format: revealjs
incremental: true
css: "custom.css"
---

## Test

- Α
  - a
  - b
    - β
  - c

and my custom.css file is

.fragment {
  opacity: 1 !important;
  visibility: visible !important;
  filter: brightness(0.01) invert(0.8) !important;
}
.fragment.visible {
  filter: none !important;
}
.reveal {
  color: blue;
}

Is there any good way to solve it?

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