The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

CSS Coding

Go down

CSS Coding Empty CSS Coding

Post by Lozu Mon Sep 28, 2009 2:50 am

Code:
<style type="text/css">
.blink {
font-size: 15px;
color: red;
display: inline;
}
</style>
Some one told me to add this to my CSS and make the text blinking, is that the right format of code for the CSS.
Dose this apply to whole document or I can add somewhere else and make only one text.
Lozu
Lozu
Forumember

Posts : 96
Reputation : 0
Language : ENGLISH

Back to top Go down

CSS Coding Empty Re: CSS Coding

Post by Guest Mon Sep 28, 2009 3:31 am

No. That would just make your text red or whatever color you choose. It would not blink.

Second, that would only modify the text that is between two tags with their classes defined as "blink".
Ex:
Code:
<p class="blink">This is modified text</p>
With the style you have above, would return:
This is modified text

If you want an easy way, look into animated GIFs: http://www.blinkingtextlive.com/
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum