Make accessible text animation with HTML and CSS [no JavaScript]

Published: 18 August 2021
on channel: Leanne R
448
29

In this video, I show you how to create a simple but effective text animation using HTML and CSS - no JavaScript needed! We'll also make sure the text is accessible when read by screen readers, too.

00:37 - the HTML
01:17 - reducing space between the letters with negative letter spacing
01:50 - declaring the animation with @keyframes
02:35 - using the animation
03:40 - making the letters move at different times with animation-delay
and nth-child
04:30 - the finished animation
04:44 - making the text animation accessible to screen readers
--

const me = {
name: "Leanne 👩🏻",
passions: ["coffee☕️", "code 💻", "cats 🐱"],
unpopular_opinion: "LOVES CSS ❤️",
favorite_colors: ["hotpink", "orangered"],
channel_aim: "Show the world that CSS is fun and web development rules! 👑"
}

--

🐤 Say hi on Twitter:   / rybaleanne  
🤺 Join the Scrimba Weekly Web Dev Challenge: https://scrimba.com/learn/weeklychall...


On this page of the site you can watch the video online Make accessible text animation with HTML and CSS [no JavaScript] with a duration of hours minute second in good quality, which was uploaded by the user Leanne R 18 August 2021, share the link with friends and acquaintances, this video has already been watched 448 times on youtube and it was liked by 29 viewers. Enjoy your viewing!