Questions tagged [rotatetransform]

This is used to change the Angle of rotation for a UIElement

RotateTransform can be added to a UIElement to set the Angle of rotation for that element. It can also be used with a Storyboard and AnimationTimeline to animate the UIElement's rotation.

252 questions
19
votes
6 answers

CSS: rotate image and align top left

I am trying to rotate an image using a CSS transform such that it stays correctly aligned within the surrounding div, i.e. the top left corner of the image should be aligned with the top left corner of the div. As you can see here (-> click on…
fuenfundachtzig
  • 7,952
  • 13
  • 62
  • 87
9
votes
2 answers

CSS "transform: rotate()" affecting overall design with "position: absolute" (not aligning properly)

I fear I quite don't know how to explain it as well as I can show it. So I've set up this Fiddle. As you can see, the nav menu is not where it should be. It should be set exactly at the bottom border of the head element and to the left border. I.e.…
QuestionerNo27
  • 610
  • 6
  • 14
  • 30
8
votes
1 answer

WPF RotateTransform DataTrigger

Is it possible to use a DataTrigger to set the angle of a RotateTransform in WPF? If so, how?
PhilBrown
  • 2,949
  • 7
  • 34
  • 53
7
votes
2 answers

How to draw a rotated string as an image with System.Drawing?

I am drawing strings to images. The size of the images is dynamic, or in other words, the images are as large as necessary to display the strings. To achieve that I am measuring the size with Graphics.MeasureString() before rendering the text with…
asp_net
  • 3,567
  • 3
  • 31
  • 58
6
votes
1 answer

Change parent div size when child is rotating

I have block wrapper and div inside it. To child I apply CSS rotate, and I want that parent div will change it width and height - child div must be inside parent always (like on pictures). #wrap { margin-top: 100px; width: auto; height:…
frontEndNoob
  • 117
  • 1
  • 9
6
votes
2 answers

Applying CSS rules based on input checkbox status

I'm currently developing a site that uses the :checked variable to apply rules to the CSS. I've got a checkbox input that when triggered, should accomplish two things. The first thing it should do is expand a div from a height of 0 to 200 when…
Matthew Beckman
  • 1,702
  • 2
  • 16
  • 28
6
votes
3 answers

How to combine jQuery animate with css3 properties without using css transitions?

In this example; i am trying to create a jQuery animation with css3 rotate property. I can manage this animation with css3 transition and jQuery css() but i want to do this with jQuery animate() for rotating deg value according to my jQuery…
Barlas Apaydin
  • 7,233
  • 11
  • 55
  • 86
5
votes
2 answers

Rotate also resizes?

I have this xaml
Anders
  • 17,306
  • 10
  • 76
  • 144
5
votes
1 answer

Safari css rotate issue with bxslider

I have made bxSlider with css rotation of 360 degrees. This is working fine in all browsers except in Safari. Can anyone help me with this? Please find link here. Code below: $('#TestimonialUL').bxSlider({ pager: false, mode: 'fade', …
Ganesh Yadav
  • 2,607
  • 2
  • 29
  • 52
5
votes
2 answers

Is it possible to rotate text using CSS 2.1?

I am using FlyingSaucer to generate an image from HTML and I am restricted to CSS 2.1. I would like to use CSS to rotate text in a
but these rotate styles are only supported on CSS 3: -o-transform: rotate(-15deg); -ms-transform:…
Scott
  • 3,736
  • 2
  • 26
  • 44
5
votes
1 answer

Rotate icon with css on mouse hover

After checking out I implemented below code but the effect is not happening, don't know where its lacking..