Skip to main content
0 votes
1 answer
23 views

transform-style: preserve-3d not working in 136.0.7103.49 version of Chrome

I'm trying to create a 3D transform effect using CSS. I used to rely on transform-style: preserve-3d to make child elements retain their 3D position when the parent is transformed. This worked fine in ...
Artem's user avatar
  • 1
1 vote
1 answer
55 views

Nested CSS transform fails on Firefox

I try to have an CSS animated Book in an parallax scroll effect in the header. Both use CSS 3D transformation. This works fine in Chromium based browsers but not in Firefox. Removing following ...
lokimidgard's user avatar
  • 1,139
1 vote
1 answer
53 views

Why does Safari OSX not rendering 3d CSS rotate correctly?

I have this code of an animating, rotating cube made with CSS. The Code works on Chrome and Firefox, also on iOS Safari it's working but not on Safari OSX. On Safari only two sides are rendered... Is ...
SilverStar069's user avatar
2 votes
0 answers
39 views

Why is my rotating flip card breaking when I apply clip paths?

I created a flipping card here with a parent container that provides a box shadow: https://codepen.io/andresexton/pen/wBvxOrP?editors=0100 I need to apply clip paths where shown in the code (hidden ...
Andre Sexton's user avatar
2 votes
1 answer
57 views

DIV flickering during transition when under Navigation Bar

const flipCards = document.querySelectorAll('.flip-card'); const viewMoreButtons = document.querySelectorAll('#view-more-details-button'); const viewSummaryButtons = document.querySelectorAll('#view-...
Skiddswarmik's user avatar
1 vote
1 answer
40 views

Rotated/Flipped DayGrid view of a single week

In fullcalendar it is possible to create a dayGrid view with a single week with the following settings views: { dayGridOneWeek: { type: 'dayGrid', duration: { weeks: 1 } } }, ...
Max Zimm's user avatar
0 votes
0 answers
21 views

Why does my IntersectionObserver trigger too often in a 3D transform container, but not in a 2D transform container?

I'm playing around with IntersectionObserver in two different scrolling containers: one uses a 3D perspective transform, and the other uses a simpler 2D transform. For the 3D container, the observer ...
Sayalic's user avatar
  • 7,530
0 votes
0 answers
30 views

Adjust box size of scaled element

Is there a way to make this scaled box only take up the height of the scaled result? div { width: 200px; height: 50px; background-color: DeepSkyBlue; } .scaled { transform: scale(0.5); } ...
Basti's user avatar
  • 743
0 votes
0 answers
18 views

Resizing a div that has a transform: how to play with the top/left/width properties such that it remains in one place?

I am trying to make my shape stay in place when performing a resize. Unfortunately, the following code: element.style.left = initialPositionsTransformed.originalXPosition - Math.abs(...
Jonathan Banks's user avatar
0 votes
1 answer
91 views

Is it possible to create stacked (nested) 3D transforms with CSS?

I'm learning 3D transforms, playing around with building some interactive 3D models with CSS. Here's a codepen outlining a basic example. In the "sibling" layout, the result is as expected. ...
Joe Connor's user avatar
0 votes
1 answer
32 views

How can I compose multiple CSS animations/properties that all use transform?

Say I have a spinning animation that looks like this: @keyframes spinning { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } I can use it like this: .spinning { ...
Sasgorilla's user avatar
  • 3,170
0 votes
0 answers
30 views

webkit-backface-visibility not working for ios/safari in TailwindCSS

I wrote the code for a 'social card' using tailwindCSS. The code works perfectly fine for Windows/Android, but for iOS/Safari the rotation around y (rotate-y-180) glitches and the backface-hidden is ...
Emilian's user avatar
1 vote
1 answer
67 views

How to make square into triangle by matrix3d?

How can I turn a square into a triangle with a matrix3d transformation? Expected: enter image description here For example, a trapezoid obtained from a square usign matrix3d: .trapezoid { width: ...
Nguyen Huy's user avatar
1 vote
0 answers
81 views

Using 3D CSS transforms on large background elements breaks scrolling overflow in Chromium browsers

I'm designing a website that takes advantage of the CSS transform3D feature which allows me to position divs in 3D space with hardware-accelerated 3D transformation such as perspective and scaling. I ...
TriVoxel's user avatar
  • 131
0 votes
1 answer
99 views

Scale canvas/matrix and all transformations applied, to obtain better quality image in the canvas

A member from stackoferflow helped fix my script and he obtained a good result, but I still need some help. I have a DIV that contains some other divs and in the end, an image. This image is bigger in ...
BlasterGod's user avatar

15 30 50 per page
1
2 3 4 5
169
X