G
G
Genri_Rus2022-04-18 19:27:48
HTML
Genri_Rus, 2022-04-18 19:27:48

How to correctly set the markup with classes for a multi-page site?

spoiler
625d9007afc57666311800.jpeg

Let's say there are 38 such pages, only the text under the heading will change.

How is it generally more correct to set styles, my example, and how is it more correct?
<div class="row wrapper">
  <aside class="sidebar"></aside>
  <div class="wrapper">
    <header class="header"></header>
    <main class="page">
      <div class="content">
        <div class="content__header">
          <h1 class="title">Основы <span class="title__subtext">Наши ценности</span></h1>
        </div>
        <div class="content__info"></div>
      </div>
    </main>
    <footer class="footer"></footer>
  </div>
</div>

More correctly content_header or page_header and aside inside main or because it repeats undesirable inside to be ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2022-04-18
@SilenceOfWinter

more correct
make it more comfortable for you. if you want to roll on rails, then see bootstrap, bulma, etc.
https://en.wikipedia.org/wiki/Holy_grail_(web_design)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question