<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
Okay I don’t think I am doing anything wrong, but I am struggling to get through Sass for some reason. I have tried Firefox, Chrome, and Exploder, but nothing is working for me. If I have something wrong in my code please tell me what it is so that I can fix it. I have tried everything from switching browsers to switching computers to copy-pasting the code directly into the box. I somehow managed to get to the third exercise by a miracle and now nothing is working. One other thing that I have noticed is that nothing has actually moved the word Titanosaur to be on the actual card before I hover over it and then it is backwards. Any clue as to what the deal is?
<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/learn-sass/lessons/mixins-and-parent-selector/exercises/multiple-arguments?action=lesson_resume
<In what way does your code behave incorrectly? Include ALL error messages.>
``` @mixin transition($time){ transition: $time; -webkit-transition: $time; -moz-transition: $time; -o-transition: $time; }@mixin transform-style($style){
transform-style: $style;
-moz-transform-style: $style;
-o-transform-style: $style;
-ms-transform-style: $style;
-webkit-transform-style: $style;
}
@mixin stripes($direction, $width-percent, $stripe-color, $stripe-background: #FFF) {
background: repeating-linear-gradient(
$direction,
$stripe-background,
$stripe-background ($width-percent - 1),
$stripe-color 1%,
$stripe-background $width-percent
);
}
@mixin backface-visibility($visibility: hidden) { // Backface properties
backface-visibility: $visibility;
-webkkit-backface-visibility: $visibility;
-moz-backface-visibility: $visibility;
-ms-backface-visibility: $visibility;
-o-backface-visibility: $visibility;
}
@mixin transform($transformation) {
transform: $transformation;
-webkit-transform: $transformation;
-moz-transform: $transformation;
-ms-transform: $transformation;
-o-transform: $transformation;
}
@mixin photo-content {
object-fit: cover;
}
//Add your own mixins here
.notecard {
width: 300px;
height: 180px;
border: 1px solid black;
display: inline-block;
margin: 20px;
font-family: Roboto, sans-serif;
box-shadow: 1px 1px 2px 2px rgba(0,0,0,.2);
&:hover{
@include transform
(rotatey(-180deg));
@include transform-style(preserve-3d);
@include transition(0.4s);
}
.front, .back {
width: 100%;
height: 100%;
position: absolute;
@include backface-visibility;
}
.front {
z-index: 3;
font-size: 20px;
.word {
display: block;
text-align: center;
position: relative;
top: 40%;
}
}
.back {
z-index: 1;
word-wrap: break-word;
line-height: 1.6;
@include
transform(rotatey(-180deg));
.definition {
width: 100%;
height: 100%;
.photo {
width: 60%;
margin: 0px auto;
}
}
}
}
Replace this line with your code.
<do not remove the three backticks above>