What is the cause of the error? @extend %center;


@import url(https://fonts.googleapis.com/css?family=Pacifico); //CSS import
@import "helper/placeholders";
@import "helper/mixins";
@import "helper/variables";

h1 {
  font-family: Roboto, sans-serif;
  @extend %center;

.banner {
  font-family: 'Pacifico', cursive;
  height: 400px;
  background-image: url($lemonade-banner);
  border: {
    top: $border;
    bottom: $border;

  .slogan {
    background-color: $translucent-white;
    border: 4px solid black;
    top: 200px;
    left: 25%;
    line-height: 200px;
    @include dimensions
    @extend %absolute;

      position: absolute
    span {
      width: 40%;
      left: 30%;
      @extend %absolute;

.container {
  font-family: 'Pacifico', cursive;

  .icon {
    display: inline-block;
    margin: 2%;
    border: $border;
    @include dimensions(300px, 300px);



It appears you're missing a space between @extend and %center;

Bear in mind that the lesson is asking you to place any placeholders (i.e. %absolute and %center) in the helper/_placeholders.scss file.


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