CSS CSS Transitions and Transforms Transition Timing Functions and Delays Timing Functions and Delays Challenge

James Rennie
James Rennie
16,807 Points

Why won't step 4 accept time in seconds?

When I enter 300ms the test passes if that value it changes to 0.300s or .300s it does not work.

style.css
/* nav-item transitions ---------- */

.nav-item {
    flex-grow: 1;
  transition: flex-grow .5s ease-out;
}

.nav-item:hover {
    flex-grow: 2;
}

/* nav icon transitions ---------- */

.icon {
  right: -25px;
  transition: right .4s 0.300s;
}

.nav-item:hover .icon {
    right: 12%;
}
index.html
<!DOCTYPE html>
<html>
<head>
    <title>CSS Transitions</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link rel="stylesheet" href="page.css">
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">

        <nav class="nav">
            <a class="nav-item" href="#">About <i class="icon material-icons">person</i></a>
            <a class="nav-item" href="#">Work <i class="icon material-icons">work</i></a>
        </nav>

    </div>
</body>
</html>