SASS Help [List Arguments 6/9]


Can someone please help me with the SASS exercise 6/9:

[Mixins and the & Selector]
6. List Arguments

Here is the code I have entered in main.scss (I didn't modify index.html or main.css):

$stripe-properties: to bottom, 15%, blue, white;

@mixin transition($time){
transition: $time;
-webkit-transition: $time;
-moz-transition: $time;
-o-transition: $time;

@mixin backface-visibility($visibility: hidden) { //Add an argument
backface-visibility: $visibility;
-webkit-backface-visibility: $visibility;
-moz-backface-visibility: $visibility;
-ms-backface-visibility: $visibility;
-o-backface-visibility: $visibility;

@mixin photo-content {
object-fit: cover;

@mixin stripes($direction, $width-percent, $stripe-color, $stripe-background: #FFF) {
background: repeating-linear-gradient(
$stripe-background ($width-percent - 1),
$stripe-color 1%,
$stripe-background $width-percent

@mixin transform($transformation) {
transform: $transformation;
-webkit-transform: $transformation;
-moz-transform: $transformation;
-ms-transform: $transformation;
-o-transform: $transformation;

@mixin transform-style($style){
transform-style: $style;
-moz-transform-style: $style;
-o-transform-style: $style;
-ms-transform-style: $style;
-webkit-transform-style: $style;

//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);
@include transform-style(preserve-3d);
@include transition(0.4s);

@include transform (rotatey(-180deg));

.front, .back {
width: 100%;
height: 100%;
position: absolute;
@include backface-visibility;
@include transform(rotatey(-180deg));

.front {
z-index: 3;
font-size: 20px;

.word {
  display: block;
  text-align: center;
  position: relative;
  top: 40%;


.back {
@include transform(rotatey(-180deg));
z-index: 1;
word-wrap: break-word;
line-height: 1.6;

.definition {
    @include stripes($stripe-properties...);

  .photo {
    width: 60%;
    margin: 0px auto;



*Note: I attempted to restart the exercise or "get code" after I made some sort of mistake in this code and it says
"Cannot connect to Codeacademy" and I only have a basic account at the moment until I get a subscription. Any help would be appreciated. I'm assuming I made a mistake with the brackets, order, nesting, etc.

Thank you in advance,



Anyone that is able to help?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.