Code to rotate the section of your view using LESS

Goud.Kv
Posted by Goud.Kv under CSS 3 category on | Points: 40 | Views : 681
Below code helps you to rotate particular section in terms of degrees ,

In View page,

<div class="rotate">
Hello.....
</div>


In Style.Less,

@deg: -45deg;

.rotate {
-webkit-transform: rotate(@deg);
-moz-transform: rotate(@deg);
-o-transform: rotate(@deg);
transform: rotate(@deg);
}


The above code will rotates your division to '-45' degrees.

Comments or Responses

Login to post response