Topic: Color attributes with 3 characters? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=9679" title="Pages that link to Topic: Color attributes with 3 characters? (Page 1 of 1)" rel="nofollow" >Topic: Color attributes with 3 characters? <span class="small">(Page 1 of 1)</span>\

 
krets
Paranoid (IV) Mad Scientist

From: KC, KS
Insane since: Nov 2002

posted posted 08-24-2003 22:44

I haven't done much design lately and as a result, I haven't kept caught up.

Some of the newer sites I've seen use 3 characters for their color attributes instead of 6. What's the dealio?

:::11oh1:::

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-24-2003 23:08

It's only allowed in CSS, but using 3 hex numbers is a shortcut for 6, like this:

#369 -> #336699

#17A -> #1177AA

It's just shorthand.

krets
Paranoid (IV) Mad Scientist

From: KC, KS
Insane since: Nov 2002

posted posted 08-24-2003 23:10

Ah, cool Slime. That's kinda what I figured but I thought I'd ask the pros.

:::11oh1:::



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu