Hello world
Your content
Let’s start with some HTML on a page:
Then, let’s add typetura.css
. It should ideally go in the <head>
.
We want to change the size of the h1
element. Let’s attach Typetura’s behavior to it by adding the class tt
.
Your styles
Now we can style this using CSS keyframe animations.
Additional styling
You did it! You wrote your first Typetura styles. You may want to adjust the start and end position, as well as the easing curve. See the Typetura style reference for more information.
See the Pen Typetura Hello World Tutorial by Scott Kellum (@scottkellum) on CodePen.