Solved

Animate a Title

Posted on 2016-11-06
7
71 Views
Last Modified: 2016-11-08
Hi Experts,

Using CSS only (I'm taking a CSS Course), how can I animate in a title (h1), one character at a time, into the desired position?

Thank you.
0
Comment
Question by:APD_Toronto
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 57

Expert Comment

by:Julian Hansen
ID: 41876645
Blind links deleted

Please refer to EE policy on posting links to off site content (http://support.experts-exchange.com/customer/portal/articles/1162518)

Posts with links to OSC should contain enough commentary for the post to stand on its own.

JulianH
0
 

Author Comment

by:APD_Toronto
ID: 41877636
Hi Julian, I don't believe I posted any links
0
 
LVL 2

Expert Comment

by:Andrew Derse
ID: 41877882
It's possible, but my approach will probably hurt your SEO as the title tag would be hidden while the animation is occurring.

Here's how I would do it:

1) Have the <h1> text as hidden, but on the screen in the end position desired.
2) Break out each letter in it's own div or span.
3) Animate that span using css animation
4) Once everything is lined up, turn off all of the divs/spans and turn on <h1> tag.

Just 1 approach.
0
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 

Author Comment

by:APD_Toronto
ID: 41878086
I know what you mean, but how can I both set left: -200px then transform left 30px

Can you give me an example perhaps "Hi" or "Hey"
0
 

Author Comment

by:APD_Toronto
ID: 41878087
I  mean, I dont think that you have a pseudo-selector like span:onbodyload?
0
 
LVL 2

Accepted Solution

by:
Andrew Derse earned 500 total points
ID: 41878781
Correct, most of the time this is easily accomplished with javascript or jQuery.  I prefer jQuery. So when page loads you can manipulate the css through the jQuery calls. I personally wouldn't do it purely with css, I would use jQuery to help.
0
 

Author Comment

by:APD_Toronto
ID: 41878950
I know how to do it with jQuery, but this is a CSS course. Can you help me out?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question