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

font variable animeren met css #102

Open
yujing-student opened this issue Nov 13, 2024 · 2 comments
Open

font variable animeren met css #102

yujing-student opened this issue Nov 13, 2024 · 2 comments
Labels

Comments

@yujing-student
Copy link

No description provided.

@yujing-student yujing-student converted this from a draft issue Nov 13, 2024
@yujing-student
Copy link
Author

yujing-student commented Nov 13, 2024

Image

https://wakamaifondue.com/

https://developer.mozilla.org/en-US/docs/Web/CSS/font-variation-settings

hier kan je het font aanpassen en animeren met css

@lisagjh
Copy link

lisagjh commented Nov 13, 2024

Verschrikkelijk vervelende animatie maar stiekem toch wel leuk?

Image

h1 {
    animation: welcome 1.5s ease-in-out 12 alternate;
  }

  h1:hover {
    animation-play-state: paused;
  }

  @keyframes welcome {
    0% {
      font-weight: 100;
      letter-spacing: .5rem;
    }
    30% {
      font-weight: 900;
      letter-spacing: -.5rem;
    }
    60% {
      font-weight: 100;
      letter-spacing: -.5rem;
    }
    100% {
      font-weight: 900;
      letter-spacing: .5rem;
    }
  }

Misschien leuk om te kijken of we iets kunnen doen per letter?

@lisagjh lisagjh added the ideas label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants