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

what are they asking here?

it says i have the code in the right area but im not sure what the right answer is.

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

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

.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

Jamie Reardon
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

By default, the transition property uses the keyword all which will transition all properties. The challenge specifically wants you to only transition the flex-grow property. So before your transition-duration value in your transition shorthand property, add the property name that you need to transition. If you still can't complete the challenge, post a comment and will help further but try your best attempt :)