4

I'm using this css and nothing is showing up. It was working earlier today and has now just stopped. The html is still present but when I inspect element the height is set to 0px. How do I resolve this error?

error: Lexical error at line 571, column 3. Encountered: after : ""

(in this case the last } is line 571)

#chevron {
    position: relative;
    text-align: center;
    margin-bottom: 6px;
    height: 80px;
    width: 100%;
}

#chevron:before {
  content: '';
  position: absolute;
  top: 0;
  left: -9px;
  height: 100%;
  width: 51%;
  background: #ccc;
  -webkit-transform: skew(0deg, 6deg);
  -moz-transform: skew(0deg, 6deg);
  -ms-transform: skew(0deg, 6deg);
  -o-transform: skew(0deg, 6deg);
  transform: skew(0deg, 6deg);
}

#chevron:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background: #ccc;
  -webkit-transform: skew(0deg, -6deg);
  -moz-transform: skew(0deg, -6deg);
  -ms-transform: skew(0deg, -6deg);
  -o-transform: skew(0deg, -6deg);
  transform: skew(0deg, -6deg);
}​
5kud
  • 327
  • 2
  • 6
  • 19

1 Answers1

3

If you copy your css from question and paste it to JS Bin for example, you will see strange red dot: enter image description here.enter image description here

Maybe this will help.

Evgeny Samsonov
  • 2,730
  • 4
  • 19
  • 28