IE does not support 3D transform functionality

I am having an issue with 3D transformations on IE browser. It works fine on all other browsers except IE. If you have some time, please check the example first on a normal browser to see the transform and then try on IE.

In the example, you need to click on the image.

CSS is written with Sass

.item {
    width: 388px;
    height: 273px;
    position: relative;
    float: left;
    margin: 0 0 2px 2px;
    cursor: pointer;
    outline: 1px solid transparent;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;

    img {
        display: block;
        width: 388px;
        height: 273px;
    }    
}

.top {
    width: 1170px;
    margin: 0 auto;

    .item {
        .button {
            content: attr(data-title);
            top: 100%;
            width: 100%;
            height: 50px;
            position: absolute;
            left: 0;
            background: rgba(0, 0, 0,0.7);
            font-size: 22px;
            color: #fff;
            font-weight: 400;
            line-height: 50px;
            padding: 0 0 0 15px;
            text-transform: uppercase;
            -webkit-transform-origin: 0% 0%;
            -webkit-transform: rotateX(-90deg);
            -moz-transform-origin: 0% 0%;
            -moz-transform: rotateX(-90deg);
            -ms-transform-origin: 0% 0%;
            -ms-transform: rotateX(-90deg);
            transform-origin: 0% 0%;
            transform: rotateX(-90deg);

            p {
                display: inline-block;
                font-size: 18px;
            }
        }

        &.active {
            .button {
                background: rgba(235, 141, 3, 0.7);
            }
        }

    }

    &.transform-top {
        .item {
            overflow: visible;
            -webkit-transform-origin: 50% 0%;
            -webkit-transform: rotateX(89.99deg) translateY(-100%);
            -moz-transform-origin: 50% 0%;
            -moz-transform: rotateX(90deg) translateY(-100%);
            -ms-transform-origin: 50% 0%;
            -ms-transform: rotateX(90deg) translateY(-100%);
            transform-origin: 50% 0%;
            transform: rotateX(89.99deg) translateY(-100%);
        }
    }
}

HTML

<div class="top">
   <div class="item">
       <img alt="" src="http://conceptmds.com/demo/wp-content/uploads/2015/02/Winter-Glory-30-x-30-cm-1-370x260.jpg">
       <span class="button">Winter Glory <p>30 X 30cm</p></span>
    </div>
</div>

Live Version

Live Example

Answer №1

Unfortunately, Internet Explorer does not currently have support for the CSS property transform-style: preserve-3d.

If you're unsure about browser compatibility, you can verify it by visiting http://caniuse.com/#feat=transforms3d

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

How to have Div occupy 100% of its grandparent container?

Here's what I'm trying to figure out: I have a div with a max width of 960px. The child div inside the parent div is set to 100%, but that means it only goes up to 960px. Is there a way to make the child div stretch to 100% of the user's ...

Changes in content result in modifications to the size of transition elements

Have you ever encountered a button with changing text upon being pressed? The transition in text leads to a shift in the button's width. Wouldn't it be amazing if one could smoothly transition the change in width of an element using a code snippe ...

Text centered over an animated underline using CSS

Seeking help with my bootstrap 4 nav menu. I have implemented a CSS animation that creates an outward underline effect for the nav-link items. However, I am struggling to center the text above the line. Any suggestions on how to achieve this? I attempted ...

How can the total sum of values from a list of JSON objects be calculated in an HTML document?

I am currently designing an HTML form that, upon submission of a user's name, should return an integer representing the sum of all purchased items by the user. The API response is in JSON format and appears as follows: [{"Phone":800}, {"laptop":1500} ...

Prevent the scroll line from moving any further when it is crossed by the block

I am facing an issue with my webpage design. I have 3 blocks, the second block contains a scrolling circle that moves along with the main scroll. However, when the main scroll crosses the second block, the circle behaves incorrectly and stops scrolling on ...

Troubleshooting: Layout display issue on Internet Explorer 8

The first image is from IE9 and above, while the second one is from IE8. In IE8, the right side goes down because it's displaying in mobile view (Check the top menu) Here is the header code I am using: <meta charset="utf-8"> <meta h ...

I am currently dedicated to enhancing my background transitions and experimenting with creating smooth fade-ins

I'm almost done with my Weather Forecast page for the FCC challenge. However, I'm not satisfied with how the code for swapping the background works. It just doesn't feel right to me. Unfortunately, I can't figure out how to fix it. Addi ...

Steps for Adding a class or Id to an Ext.Msg.alert box

Is there a way to customize the style of a specific Ext alert box without affecting all alert boxes? Can someone please explain how to assign a class or ID to an Ext.Msg.alert box? Ext.Msg.alert('Status', 'Changes saved successfully.' ...

Managing the css @print feature within the WordPress admin interface

When attempting to use 'window.print()' to print only a specific div inside the WordPress admin area, I tried enqueueing CSS to load on the desired page and hide all elements except for the target div. However, the issue arises when the text form ...

Horizontal Scroll HTML

Currently in the process of building a website for my father, everything is going smoothly. I followed a helpful Stackoverflow tutorial to create a specific webpage that I now want to customize with a hyperlink and make it scroll horizontally: Sliding divs ...

Row Carousel Share - Horizontal Perspective

Having some trouble getting my carousel to align horizontally with other text in a row – it keeps taking up the full width instead of the 40% I've set. Below, you'll find the code snippet and screenshots for reference. In the screenshot above ...

Are there any portable stylus options available?

Hey there! I'm dealing with a situation where the computers at my school are locked down and I can't install software. Does anyone know if there's a way to compile my Stylus code without having to install Node first? Or perhaps, is there a p ...

Unveiling the axes on a 3D plotly graph

I've encountered an issue with making axes visible in my plotly 3D chart. I attempted to use fig.update_xaxes(showline=True, linewidth=2, linecolor='black') but it doesn't seem to be taking effect. I suspect I might be overlooking somet ...

The Impact of Using Multiple Images in Animation is Strikingly Dynamic

For my small personal project, I am using ReactJs and Tailwind to render a list of 6 images. Here is the code snippet: import React from "react"; import Images from "../images"; export default function PictureHeader() { const [pict ...

Ways to insert additional panels prior to and after a selected panel

A button is provided in the report designer detail band that, when clicked, should add new panels immediately before and after the detail panel. $parentpanel = $this.parents(".designer-panel:first"); This code snippet is used to locate the parent panel u ...

What is the method for aligning text to the right side within a ListItem?

Currently, I have these elements where the "YoYo" text is aligned to the left by default. However, I am looking to adjust the positioning of some "YoYo" texts so that they can appear on the right side. I attempted to provide a style object with justifyCon ...

Weird gap between image and div element (CSS)

I often encounter an issue with divs and images not nesting flush against each other due to spaces. It's a minor problem, but it can be frustrating. Currently, I'm struggling with the following code. The second div (class Shadow2) contains an im ...

sticky header on pinned tables in a React data grid

I have combined 3 tables together, with the middle table containing a minimum of 15 columns. This setup allows users to horizontally scroll through the additional columns conveniently. However, I am facing a challenge in implementing a sticky header featu ...

Text within cells is not wrapping onto a new line in an HTML table

Let me show you how it currently looks: https://i.sstatic.net/OeHRg.png The maximum width of the cell is working properly, but the text is not wrapping to a new line as expected. Instead, it overflows out of the cell. Here is the CSS applied to the tabl ...

Having trouble with the Bootstrap float right class? Your buttons are refusing to respond?

Currently, I am experimenting with ExpressJS and EJS rendering. I have noticed that the Bootstrap float-right class is not working properly on the navbar. I even attempted using d-flex, but the issue persists. I am unsure if I am missing something in my co ...