I
I
IvanRobot2016-06-05 04:38:05
css
IvanRobot, 2016-06-05 04:38:05

Are the blocks and elements properly organized in this markup?

.b-top-menu //background: black; width:100%;
  .b-top-menu__container //max-width: 960px;
    .b-top-menu__container_left //float: left;
      .b-top-menu__item
      .b-top-menu__item
      .b-top-menu__item
    .b-top-menu__container_right //float: right;
      .b-top-menu__item
      .b-top-menu__item
      .b-top-menu__item

Inside the element of one block there is an element of another block. In my opinion, this is not the way to make markup. If I'm right, then tell me - how to organize selectors correctly

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question