DEG CSS Value

0

How many px is equal to 1deg ?

In this case, if you have this conversion. Or in case, how to work with it.

deg in the case, which we used in the CSS transform.

    
asked by anonymous 05.10.2017 / 14:29

1 answer

1

I'm not aware of a conversion from deg to px , because in my head it does not make sense. The deg or degrees, is the measure for angles and degrees is nothing more than degrees in English. It is used in transform specifically for rotation in degrees, as in the example below:

.exemplo {
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  transform: rotate(360deg);
}

What is happening is that the "example" class object will be rotated 360 degrees, that is, it will make a full turn clockwise.

    
05.10.2017 / 14:58