U gudub nuxurka muhiimka ah U gudub dukumentiyada navigation
in English

toosan toosan

Si sahal ah u beddel toosan toosan ee khad,-block, miiska-line-ka, iyo unugyada miiska.

Beddel isku-habaynta walxaha iyo vertical-alignmentyutiilitida Fadlan la soco in toosan-isku-ku-soo-ku-oolka ahi ay saameeyaan oo keliya khadka,-block-ka, miiska-line-ka, iyo unugyada miiska.

Ka dooro .align-baseline, .align-top, .align-middle, .align-bottom, .align-text-bottomiyo .align-text-topsida loo baahdo.

Si toosan loogu dhex dhexaadiyo nuxurka aan khad toos ahayn (sida <div>s iyo in ka badan), isticmaal sanduuqa dabacsanaanta utilities .

Iyada oo leh curiyeyaasha khadka dhexda ah:

salka sare ee hoose qoraalka -sare qoraalka-hoose
<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>

Unugyada miiska:

gundhig sare dhexe hoose qoraalka sare qoraalka hoose
<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

Utilities API

Utility-ka toosan waxa lagu caddeeyey utilities API gudaha scss/_utilities.scss. Baro sida loo isticmaalo API utilities.

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