Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Positioning a block relative to other blocks #75

Open
ghost opened this issue Nov 24, 2018 · 1 comment
Open

Positioning a block relative to other blocks #75

ghost opened this issue Nov 24, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 24, 2018

is this rule this apply?

To set a block's position relative to other blocks, the best approach is usually to use a mix.

  <nav class="nav-grid">
    <div class="logo nav-grid__logo">
      <h1 class="logo__title">Beginning</h1>
    </div>

    <ul class="menu nav-grid__menu">
      <li class="item menu__item"><a class="item__link" href="#">Home</a></li>
      <li class="item menu__item"><a class="item__link" href="#">About</a></li>
      <li class="item menu__item"><a class="item__link" href="#">Contact</a></li>
      <li class="item menu__item"><a class="item__link" href="#">Products</a></li>
      <li class="item menu__item"><a class="item__link" href="#">Services</a></li>
    </ul>
  </nav>
@tadatuta
Copy link
Member

yes, looks fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant