CSS Polymorphism used in CSS3 -


i reading book of css3 in that, came across 1 word "css polymorphism". have heard first time "css polymorphism". searching on google not find much.

my questions:

  1. what css polymorphism?
  2. how use in css explain examples?

i don't think accepted term, appears used couple of times in context of properties. different css properties accept different values.

polymorphism defined (by dictionary.com) as:

the occurrence of in different forms, in particular.

in case of css, individual properties can affect target in multitude of ways:

background:#fff; /* background white */ background:url(img.png); /* background image */ background:#fff url(img.png); /* background white image */ background:url(img.png) no-repeat; /* background non-repeating image */ /* etc... */ 

this polymorphism.

pro html5 , css design patterns describes css polymorphism (in relation properties) "combinatorial explosion of possibilities".


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -