Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error 22 Unknown attribute 'transform'

ANSWERED

Hello,

I’m getting this error when I’m trying to rotate the elements like this:

<circle id="o1"  class="oval" fill="#FF7F00" transform="rotate(30)" ></circle>

I’m aware that circle is always round, no matter how you rotate it bit with fixed origin and some offset it does make sense 😉

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Wrapping the circle in group fixes this issue:

 

<g class="oval" transform="rotate(30)">
   <circle id="o1" fill="#FF7F00" ></circle>
</g>

 

 

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

Wrapping the circle in group fixes this issue:

 

<g class="oval" transform="rotate(30)">
   <circle id="o1" fill="#FF7F00" ></circle>
</g>

 

 

Best Answer
0 Votes