Jya ku bintu nyamukuru Jya kuri docs
in English

Guhuza neza

Byoroshye guhindura vertical guhuza umurongo, kumurongo-guhagarika, kumurongo-kumeza, hamwe nibintu bigize selile.

Hindura guhuza ibintu hamwe vertical-alignmentnibikorwa. Nyamuneka menya ko vertical-align igira ingaruka gusa kumurongo, kumurongo-guhagarika, kumurongo-kumeza, hamwe nibintu bigize selile.

Hitamo kuva ,,,,, .align-baselinekandi .align-topnkuko bikenewe ..align-middle.align-bottom.align-text-bottom.align-text-top

Kugirango uhagarike hagati yibirimo bitarimo umurongo (nka <div>s nibindi), koresha flex box yingirakamaro .

Hamwe n'ibice bigize umurongo:

ibanze hejuru hagati yinyandiko yo hejuru-hejuru inyandiko -hepfo
<span class="align-baseline">baseline</span>
<span class="align-top">top</span>
<span class="align-middle">middle</span>
<span class="align-bottom">bottom</span>
<span class="align-text-top">text-top</span>
<span class="align-text-bottom">text-bottom</span>

Hamwe na selile yameza:

shingiro hejuru hagati hepfo inyandiko-hejuru Inyandiko-Hasi
<table style="height: 100px;">
  <tbody>
    <tr>
      <td class="align-baseline">baseline</td>
      <td class="align-top">top</td>
      <td class="align-middle">middle</td>
      <td class="align-bottom">bottom</td>
      <td class="align-text-top">text-top</td>
      <td class="align-text-bottom">text-bottom</td>
    </tr>
  </tbody>
</table>

Sass

Ibikorwa API

Ibikorwa bihuza ibikorwa byamenyekanye mubikorwa byacu API muri scss/_utilities.scss. Wige gukoresha ibikoresho API.

    "align": (
      property: vertical-align,
      class: align,
      values: baseline top middle bottom text-bottom text-top
    ),