fix for broken paren matching in @keyframes rules
This commit is contained in:
parent
5b08bf8e1e
commit
ba334cae71
2 changed files with 26 additions and 1 deletions
|
|
@ -2,4 +2,29 @@
|
||||||
font-family: Monaco, "Courier New", monospace;
|
font-family: Monaco, "Courier New", monospace;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
cursor: text;
|
cursor: text;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.blinker {
|
||||||
|
animation-duration: 1s;
|
||||||
|
animation-name: blink;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
nimation-direction: alternate;
|
||||||
|
animation-timing-function: linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
40% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
40.5% {
|
||||||
|
opacity: 1
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -266,7 +266,7 @@ var CssHighlightRules = function() {
|
||||||
next: "ruleset"
|
next: "ruleset"
|
||||||
}, {
|
}, {
|
||||||
token: "string",
|
token: "string",
|
||||||
regex: "@media.*?{",
|
regex: "@.*?{",
|
||||||
next: "media"
|
next: "media"
|
||||||
},{
|
},{
|
||||||
token: "keyword",
|
token: "keyword",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue