- 1
🇷🇺Как этим можно пользоваться?
Почему это нельзя в сss использовать?(transform: rotate;)
2 Réponses
+ 17
transform can & is being used in CSS.
your question seems little unclear.
you basically define an element.
then apply:-
transform: rotate(90deg) .
check below code for a demo
<style>
svg {
background-color: deeppink;
color: red;
transform: rotate(75deg);
/* specify rotation values in degrees */
}
</style>
<svg width='200' height='100' id="svg"></svg>
read the below resources and Sololearn course.
# read this for svg related examples #
https://css-tricks.com/transforms-on-svg-elements/
# read below for transform property #
https://css-tricks.com/almanac/properties/t/transform/
https://developer.mozilla.org/en-US/docs/Web/CSS/transform?v=b
https://www.w3schools.com/cssref/css3_pr_transform.asp