• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. CSS Units > Angle Units

6.6. Angle Units

There are a few Aural Cascading Style Sheet (ACSS) properties that enable the user to set exactly where a sound should be placed within a stereo sound field. These properties can take angle values to help you place where the sound should “appear”. In addition, one of the proposed new ways of setting colors in CSS3 would also use angle units (for more information on this, look up the color property in Chapter 13, “Color”).

Three types of angle units are available: deg (degrees), grad (grads) and rad (radians). All of the values can take negative values, although positives are assumed by default if not explicitly set using a “-” symbol. Of these three types of angle values, people are most familiar with degrees values, which range from 0 – 360. The following code snippet shows a couple of lines of ACSS code that use a degree setting to place a couple of speaking voices:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint