Using flex-direction to layout content horizontally and vertically

Share this video with your friends

Send Tweet

The Flexbox css spec allows for more adjustable layouts. The flex-direction property allows you to easily change the layout on the children of an element without making any changes to the dom, which is particularly useful when combined with media queries.

RagIb Hasan
~ 7 years ago
.main-nav a {
  text-decoration: none;
  color: black;
  font-size: 21px;
  font-weight: 600;
  color: #00a9d9;
}

What is the reason for having 2 color properties for the main-nav a selector?

Phillip
~ 6 years ago

Either a typo I suspect or perhaps a test that you just passed.