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

Adrian Yao
Adrian Yao
1,002 Points

What does it mean when I am getting the wrong transition property?Isn't it transition-duration?

I bet I did something very blatant but I cant find it!

/* nav-item transitions ---------- */

.nav-item {
    flex-grow: 1;

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

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

.icon {
  right: -25px;

.nav-item:hover .icon {
    right: 12%;
<!DOCTYPE html>
    <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">
    <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>


1 Answer

Steven Parker
Steven Parker
204,000 Points

It doesn't look like you've added any code yet.

But when you do, remember that the shorthand property is the one that sets multiple other properties in one line. In this case you want to set the duration but also set the specific property that the transition will apply to.