css-transforms Questions

3

It is convenient for isometric grids to start at the top like this: I have the following code to draw a "3d" isometric box: body { display: flex; justify-content: center; align-it...
Prussian asked 2/8, 2024 at 19:26

1

Solved

Context I'm trying to handle geometric operations applied to HTML elements by CSS3 3d transforms through DOMMatrix API to retrieve any coord i want in any coord system i want. The Issue Everything ...
Bowen asked 10/6, 2024 at 8:29

4

Solved

I've got a series of elements, as shown in the image below: They are rotated 45 degrees to one side (the content inside -45 degrees, to remain upright). Now I'd like to rotate each element arou...
Pollerd asked 16/3, 2017 at 12:46

4

Solved

I want to set several transform options for my html object but with different duration and delay. If i try to use something like that: -webkit-transition: -webkit-transform, opacity; -webkit-tran...
Wholehearted asked 2/9, 2010 at 12:38

2

Solved

I have a div that I've rotated around the X-axis with perspective. The div contains text that gets blurry when the rotation is applied. Is there any way to get the text sharp on rotation around thi...
Matty asked 3/10, 2014 at 9:31

9

I'm using transform to rotate an image according to its EXIF data. Then, I'd like to display it "full screen" by fitting it to its parent div. The problem is, max-width / max-height and all other ...
Tinsel asked 8/9, 2015 at 0:35

10

Solved

Using CSS, how can I apply more than one transform? Example: In the following, only the translation is applied, not the rotation. li:nth-child(2) { transform: rotate(15deg); transform: translat...
Vanna asked 26/5, 2012 at 11:15

2

I have a situation similar to this fiddle, where I have a CSS3 animation that scales an element absolute-positioned in the centre of another element. However, when the animation takes place it is o...
Demavend asked 14/12, 2017 at 19:32

4

We now all know, particularly from that nice article, that we should prefer css-transforms to animate position. But we got the choice between translate() and translate3d()... Which one is general...
Resa asked 1/3, 2014 at 6:59

4

Solved

I'm trying to increase the size of the material checkbox. transform seems to increase the size of the material checkbox. However, I'm not sure if this is a correct way to achieve that? CSS ::ng...
Miscarry asked 27/8, 2019 at 11:1

3

Solved

I'm trying to get each child of a div translated a different percent: #letters:nth-child(n){ transition: all 1s ease; transform: translateX(calc(n*10%)); transition-delay: calc(n*200ms); } None...
Sebaceous asked 21/7, 2023 at 10:2

3

Solved

I need to flip this SVG horizontally - can't find anything online. Here it is: <svg id="bigHalfCircle" style="display: block;" xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" ...
Diabolo asked 24/4, 2017 at 16:9

21

Solved

I am using -webkit-transform (and -moz-transform / -o-transform) to rotate a div. Also have position fixed added so the div scrolls down with the user. In Firefox it works fine, but in webkit based...
Selfimmolation asked 14/4, 2010 at 11:51

4

Solved

I am experimenting with css filters. And I would like use the blur and grayscale at the same time, but I can't seem to use both simultaneously on the same image? See fiddle here... http://jsfidd...
Lafayette asked 11/12, 2014 at 10:54

4

Solved

All, I'd like to be able to use translateX to animate a child element 100% of the way across it's parent (i.e., from the left edge to the right edge). The challenge is that percentages in transla...
Aesthete asked 4/2, 2014 at 16:9

5

Solved

I'm using CSS transitions with the transform property to shrinks elements when adding and removing them. However one problem with this is that this property doesn't affect the flow of other elemen...
Viglione asked 27/8, 2016 at 18:34

3

Solved

I've been trying for the last few hours to figure out how come a child element was positioning against its parent and not the screenport even though it's positioned as 'fixed'. Very luckily, I stum...
Tend asked 13/9, 2014 at 15:34

5

Solved

I'm having an issue in chrome with a css3 transform rotate transition. The transition is working fine but just after it finishes the element shifts by a pixel. The other strange thing is that it on...
Tricia asked 6/2, 2013 at 12:48

3

Solved

I'm trying to scale an image with css transition upon clicking some text. The checkmark image should animate out and in each time the link is clicked. In iPhone Chrome however the checkmark doesn'...
Reconstitute asked 20/3, 2018 at 12:39

5

Solved

I'm trying rotate a div with a border. The border has the same color as the background. A very thin line appears between the border outline and the background. Here is my code below. I'm trying to ...
Wordy asked 15/11, 2022 at 11:45

1

Using CSS transform on a parent element affects all other children and their background-attachment properties. In the example I'm providing, I am faking the acrylic blur effect inside the children ...
Astral asked 25/4, 2022 at 2:35

4

Solved

I have an image that is 600x400px, and want it inside a smaller div of size 240x200px, but the image shrinks or gets distorted. I want the original size image centered in the smaller div, which wou...
Buffo asked 16/6, 2014 at 17:45

4

Solved

What I'm trying to do is simple: scale some SVG dots from scale(0) to scale(1) when a sibling element is hovered using vanilla js. They are the red ones in the demo Here's the basic SVG setup <?...

6

Solved

I want to add a new feature to my site that uses the card-flipper schema from David Walsh's site: https://davidwalsh.name/css-flip. The problem is, the content in my cards is variable so the height...
Teleutospore asked 18/10, 2016 at 22:51

8

Solved

I'm trying to get an image (a plus symbol) to rotate 45 degrees to create a cross symbol. I have so far managed to achieve this using the code below but its working on hover, I wanted to have it ro...
Chirpy asked 20/2, 2014 at 20:38

© 2022 - 2025 — McMap. All rights reserved.