diff --git a/seed/challenges/01-responsive-web-design/applied-visual-design.json b/seed/challenges/01-responsive-web-design/applied-visual-design.json index 93c7399b7f..239acaa81b 100644 --- a/seed/challenges/01-responsive-web-design/applied-visual-design.json +++ b/seed/challenges/01-responsive-web-design/applied-visual-design.json @@ -2195,7 +2195,7 @@ "
" ], "tests": [ - "assert(code.match(/opacity:\\s*?0?\\.1;/gi), 'message: The keyframes rule for fade should set the opacity property to 0.1 at 50%.');" + "assert(code.match(/@keyframes fade\\s*?{\\s*?50%\\s*?{\\s*?(?:left:\\s*?60%;\\s*?opacity:\\s*?0?\\.1;|opacity:\\s*?0?\\.1;\\s*?left:\\s*?60%;)/gi), 'message: The keyframes rule for fade should set the opacity property to 0.1 at 50%.');" ], "solutions": [], "hints": [],